JSON RPC 2.0 implementation. First pass.
Merge pull request #13 from wongak/master

Implemented JSON RPC 2.0