Implemented an on-memory hash database using Tokyo Cabinet.

This implementation allows GoAccess not to rely on GLib's hash table
if one is needed.
Fixed thread locking issue after UI spinner has been completed.