ISPN-4494 OSGi tests fail on jdk8

Disable the OSGi tests when running on jdk8 and jdk9.

https://issues.jboss.org/browse/ISPN-4494
Please add a reference to the bug and a short description of why this is needed - we might give up on JDK7 at some point :)