Move autocorrelation and burn in functions into Sampler class
The function used to calculate the autocorrelation time and setup the burn in steps using by emcee are more generically useful. This MR moves these functions into the Sampler class.
This was initially implemented in !155 (closed) (which was closed without merging).