Ergodicity for the Stochastic Dynamics of Quasi-invariant Measures with Applications to Gibbs States☆