Update to work with the preview API

Hey,

I made some changes to the History object to make it work with the new Spotify preview API. In particular, there is now a required ```application``` option on the History constructor which should contain an instance of [$api/models#Application](https://developer.spotify.com/technologies/apps/docs/preview/api/api-models-application.html) with the ```arguments``` and ```uri``` properties loaded. This is the best way I could think of to make this work with their asynchronous module loader.