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.