Add test case for App.clearCache etc.

Add cache support for local server.
Merge test case for App.manifest.
Add test case for App.clearCache