Persistent: Remove debug code
- As it says, this breaks unit tests.
- This attempted to catch the cause of database leakage which is more likely to be cause by this: https://bugs.freenetproject.org/view.php?id=6247
WebOfTrust: Remove debug code so we can merge the branch fix-database-leakage
DatabaseBasedTest: In addition to deleting the temp file in tearDown(), also register it for File.deleteOnExit()
- I think having both makes sense: deleteOnExit() will guard against tearDown() not happening for whatever reason, and tearDown() will hopefully happen for a lot of tests soon before the user manually terminates the JVM in debug sessions. deleteOnExit() might not happen with manual termination.