Added method to get all items from cache

Hi!

I've just added a method which returns all items from cache. I would have written some tests, but i couldn't find any existing tests...