Update Lib/Cache/Cache.php to match CakePHP 2.4.5

CakePHP 2.4/2.3 made some changes to the Cache.php file. This updates the file to the new version.