add replace state functionality
Merge branch 'master' of https://github.com/rdwallis/gwt-pushstate