rstan: sync with Stan's refactoring of hmc_base

not completed, sampler nuts_givenmass is not added