Fix jax-rs and Jersey

Fix Jax-rs 2.0 compliancy. 
Fix Jersey compile settings in pom.xml.
Added test endpoint (to be dropped after fully completed integration).