Updated API module following suggestions:

* Make env options optional
* Move options.params.details to options.details
* Make JSONP callback more unique
* Clean up options.params pattern

I also made git treat the dist/* files as binary since they are generated by grunt and updated the documentation.

This commit also contains the `getCookie` method and I've updated the documentation to display this.