Extending tests.
Reformatting code.
Minor refactoring. Use own exception namespace.
Implement first json rpc 1.0 request