Major commit for v1.x

* Changed tab spacing to 2
* Implemented new APIs in jrs.js instead of replacing the old serialise.js
* request(), notification(), success() and error() now returns an object with a toString() method to serialise