Charge-breeding studies for high-precision mass measurements on short-lived nuclides at TITAN and a direct determination of the 51Cr electron-capture Q-value for neutrino physics