HHH-8474 accounted for Gradle 1.7's BND upgrade
HHH-8363 ClassLoaderServiceImpl should be defined as Stoppable

- also fix problem with JpaIntegrator holding references to beanmanager
HHH-8363 cleanup and formatting
HHH-8363 destroy the parent ServiceRegistry and stop its provided
HHH-8363 Some more mem leak fixes
HHH-8363 SessionFactoryServiceRegistryImpl should not call parent#destroy, test failures, formatting