1.0.0 Added constructor options to allow choice between pushState or hash mechanisms.