fix(registerState): make registerState() use current version of transitionTo()

fix hash-overwriting issue on new page load / page reload
Merge pull request #612 from sourcegraph/hash

Preserve url fragment on page reload