Small refactor of hash function to the utils folder.
Added unit test for hash function
Added test suite to execute all tests.
Fixes issue #35

Refactored create_catalog functionality, so it only recreates the db
if it's forced to do so. Gaining in performance for the test suite.