Use JAX-RS 2.0 client api instead of httpclient in jsapi-testing
modify SmokeTestResource to accomodate the JAX-RS 2.0 path matching algorithm
Merge pull request #314 from liweinan/RESTEASY-877

RESTEASY-877