Add missing commit
Flush caches between every benchmark
Fix too low trust count
Move random trust graph generation function to DatabaseBasedTest so I can use it for the deleteOwnIdentity unit test
Reduce size of benchmark:
It is a lot slower now that the test data is actually committed to the database and we flush caches.
Reduce line count (and add some documentation)