Update cache.class.php

added serialize/unserialize to store anykind of data, not just strings
Merge pull request #8 from open768/patch-1

added serialize/unserialize to store anykind of data