CMS-3193 Implement a simple osgi launcher. Added more tests.