Generalized Gaussian moment thermostatting: A new continuous dynamical approach to the canonical ensemble