Merge pull request #34 from Jordi-m/2.2.1_release

Fixed parameter mis-match for isConnected
Fix issue #33: IllegalStateException in JSONRPCException.init().
Modify sonatype reference for deployment.
Trying to make the code compatible with both 1.6 and 1.7 java, while
keeping the huge performance benefit of early clearing of cancelled
jobs.