Cache candidate classes in tree cleaner, to avoid excessive locking in
JVM reflection code.
Merge pull request #809 from ORCID/cachePackagesInTreeCleaner

Cache candidate classes in tree cleaner, to avoid excessive locking in JVM reflection code.