Made the whole bundle OSGi and webfragment ready.