Issue #2097 allow portlets to deploy through osgi