Let the database page cache be injected into the store migration, so the participants don't have to create their own if need be.

Also reduced the memory consumption of a number of tests, and transitioned many tests to using the PageCacheRule, instead of the StandalonePageCacheFactory.
StandalonePageCacheFactory changes

- Introduces a new StandalonePageCache interface which is AutoCloseable
- Make the StandalonePageCacheFactory return a StandalonePageCache
  implementation
- Updated all the various tools to use try-with-resources for their one-off
  page caches
Merge pull request #3518 from chrisvest/2.2-migration-page-cache

Let the database page cache be injected into the store migration, so the participants don't have to create their own if need be.