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.