Added new 'keys' function which returns all the keys in the cache.

Just adds a new 'keys' function which returns all the keys in a cache.