Adding functionality to run Parchment locally using AppCache, IndexedDB, and LocalStorage

Feedback is welcome and appreciated. Tested on IE 9+, FireFox 22, Chrome 28