added tests for JERSEY-1805, query param encoding (copied from Jersey 2.x)

git-svn-id: https://svn.java.net/svn/jersey~svn/trunk@5843 2fda5173-fe30-0410-90bd-98ff5453417f