Add Service Worker to manage cache
To allow offline support when installing chronos as a webapp, chronos must cache some files.
There was the AppCache feature but it has been deprecated in HTML5.1 in favour of Service Worker.
http://docs.webplatform.org/wiki/apis/appcache/ApplicationCache
https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API