cache_key method and specs

Adds the `cache_key` method, a crucial piece required for Rails 4's Russian Doll Caching.