Don't trigger statechange when push/pop was manually called

Based off https://github.com/rroesler/history.js/commit/7ed23c3fa967d5171190047a331b99e09321d350