[+] application may send errors too
[m] changed signature to take JsonRpcException as parameter to generate errorblock. And left original GetErrorBlock as it was.
Merge pull request #15 from cblp/master

[+] application may send errors too