[AS7-6968] Fix issues building on IBM JDK 7

o Fix osgi unit tests to load older versions of jbosgi-framework-core
o xmlschema-core pom contains a profile with a transitive dependency on bcel when using IBM JDK.