Part 1 of refactoring the hasindex function so we aren't depending on (or suffering from) side effects of it actually being a setup index function.
Fix compile error.
Add three new functions through the interfaces for hashDatabaseCanBeReindexed, getHashDatabasePath, and getHashDatabaseIndexPath.
Merge branch 'tags_and_hashes', remote-tracking branch 'sam/hashdb_sqlite' into tags_and_hashes