A comprehensive framework for studying W′ and Z′ bosons at hadron colliders with automated jet veto resummation