set window.location properly

In order to play nice with iron-router, and anything else that depends on window.location, we need to update the window.location property. I tried a few methods, and updating it with the history api seems to be the best option. I have not tested this in android browsers, but it works well in iOS 5 and up.