Purge the contents of the ResourceRegistry before each test - copied from RecovererTest.
Merge branch 'unit-test-jdk7' of https://github.com/rankinc/btm into unit-test-jdk7