some Java 7 related refactorings (auto resource closing, etc) and automatic start of required OSGi bundles