Fix checkForDatabaseLeaks() to really delete everything:
- There might be IdentityFetcher commands from the previous run of WOT. Delete them.
- There might be SubscriptionManager clients from the previous run. Delete them.
- Start a separate branch with the purpose of fixing the existing leaks. Therefore, execute checkForDatabaseLeaks() in startup even though it destroys the database. 
- Also improve logging while I'm at it.
Split upgradeDB() into multiple functions
Split upgradeDB() into multiple functions
Eliminate code duplication in upgradeDB():
- It is OK to take all locks for all upgrade functions, the UI of WOT should never be usable during database upgrade anyway
Indent.
Move @SuppressWarnings to where it belongs
Use consistent naming "database format version" everywhere
Add skeleton of upgradedatabaseFormatVersion3()
Add important TODO/FIXME to upgradedatabaseFormatVersion3()
Fix FreenetURI leakage in class (Own)Identity:
- The following commits will implement WebOfTrust.upgradedatabaseFormatVersion3() which will delete the leaked objects.
- Bugtracker entry: https://bugs.freenetproject.org/view.php?id=5964
Clarify JavaDoc
Fix another naming incosistency
Implement upgradedatabaseFormatVersion3()
Documentation
Improve logging
Improve logging
Fix checkForDatabaseLeaks() to also delete the Configuration object
Fix false positive in checkForDatabaseLeaks():
- Configuration.deleteWithoutCommit() was only the inherited implementation. It should be overwritten to delete its HashMaps.
Log number of database leaks fixed so we can see whether the function actually does something
Fix case of function names