Initial Karaf support

Includes converting relevant modules to osgi bundles.
Also adds a new maven plugin that can generate a karaf features.xml file.