Added a getCache method

I added a getCache global method that allows the user to explicitly
fetch a raw cached item. In my case I needed it for easier testing.
Merge pull request #108 from liorch88/getcache-function

Added a getCache method