2MTF V. Cosmography, Beta, and the residual bulk flow