Changed BuildScopeServices so that the Gradle and Settings scope services are stopped at the end of the build.
Changed DefaultCacheFactory so that it no longer closes caches implicitly at the end of the build. Instead, it's the client's business to close the caches.
Simplified DefaultCacheFactory so that it is simply a factory for caches.