[WIP] Appcache

Offline version.
Tips:
- Manage cache in Chrome: chrome://appcache-internals/
Which to merge first, the ol3 update PR or this one? Do you expect conflicts?