ISPN-4232 HotRod client cannot be installed in Karaf due to missing dependency on infinispan-core

Make infinispan-commons a standalone bundle.
ISPN-4234 OSGi core bundle - missing javax.security.* dependency
ISPN-800 Tests for library mode

* also formatting changes in core/pom.xml
ISPN-800 The osgi test bundle should export the test packages as they might contain classes which need to be loaded by ispn.