further changes for osgi compliance, added package/feature mechanism and karaf distribution creation