Port to Jersey/JAX-RS 2.0

I want to use this library in an environment where there are other libraries that depend on Jersey 2. Since Jersey 2 has better performance and a nicer API compared to Jersey 1, I thought I would just port this library to Jersey 2.

All the tests pass so I assume that this port is complete.