Leaks

The root cause of https://dev.guardianproject.info/issues/1894 was a cursor leak in DatabaseUtils to do with avatar hash checking.

I recommend running the app with Debug.DEBUG_ENABLED (see diffs) so that you get strict mode, and checking the logs from time to time.