Fix an issue when running inside a Karaf container.

When deploying this bundle in a karaf container the bundle activator would fail to register Jersey. that was due to Jersey trying to make use of hk2 framework; in OSGI hk2 doesn't make sense and so I have set 2 properties to disable the self-discoverability.