[WIP] Appcache

Offline version.
Tips:
- Manage cache in Chrome: chrome://appcache-internals/
I thought we could create these functions (getResolutionForZoom,...) in gaMapUtils, because we have the array of resolutions in MainController, what do you think?