implement App.clearCache() for clearing the whole cache
Merge pull request #778 from greenheartgames/master

implement App.clearCache