Fix the find_by_tags method, add test of this method
Finish the TagsHash spec
Refactoring of the hash cache model
Refactoring of the get_hashes method