move cache_hash to a module
removing some extra bits
Merge pull request #83 from Shopify/cache_hash

move cache_hash to a module