HHH-7994 Improve OsgiClassLoader performance

Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java