Allow to cache any objects and arrays, not only strings

I think this class can be much more useful if we can cache any kinds of objects. Just let's store serialized variable, and unserialize it upon cache access.