HHH-8378 Cleanup during Bundle#stop.  Added shutdown unit test.
Conflicts:
	hibernate-osgi/src/main/java/org/hibernate/osgi/HibernateBundleActivator.java
	hibernate-osgi/src/test/java/org/hibernate/osgi/test/OsgiTestCase.java