Change to use Client.target(URI) to be compatible with JAX-RS 1.0

* Test case is correct, but fails on GlassFish due to Jersey issue:
https://java.net/jira/browse/JERSEY-2081
Merge pull request #152 from aslakknutsen/gf_jaxrs_neo

Change to use Client.target(URI) to be compatible with JAX-RS 1.0