Fixed a bug with onError
* Improvements to README file
* Support for more config options to better support Ember/Angular/Backbone framework architectures