tidy up of logging for persistence and location management
cleans up some of the mess in LocationRegistry around testing-vs-resolving and managed-vs-unmanaged, deprecating many methods (and removing their calls)
fix a few failing tests (nothing major) and optimize a bunch more
minor tidies of location leaks, for code review
This closes #233