issue 25225: If cache-folder is not writable, disable caching and give warning

Ticket: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=25225&start=0