Change window.pushState to window.history.pushState.

`pushState` and `replaceState` are on the History not Window. I think this addresses #3.

Also, I changed

```coffeescript
_pushState arguments...
```
to
```coffeescript
_pushState.apply window.history, arguments
```

because Chrome throws `Illegal invocation` otherwise.

Cheers.