Update cache.php - bug with html encode/decode

Hello, i add second and third argument to htmlentities/html_entity_decode action with data. This allow serialize/unserialize correct, with chars like Japanese, Polish and etc. 
Merge pull request #5 from bhoodream/patch-1

Update cache.php - bug with html encode/decode