Changed REST API to use OSGi JAX-RS Connector and removed XML support

This fixes https://bugs.eclipse.org/bugs/show_bug.cgi?id=423507