Print BFGS output header every 50*refresh iterations.
Merge branch 'master' of https://github.com/stan-dev/stan
Merge branch 'master' of https://github.com/stan-dev/stan