Rewrite the hash table functionality to use functionality from APR
rather than the calls to internal sqlite APIs.