Consts class with error codes by now.
high level exception  as opposed to JsonRpcException low level exceptions.
added @override to getMessage method
made distinction between JsonRpcException and RemoteException
Added tests for JsonRpcException and RemoteException