Added CodeMirror as a replacement for the standard textarea.
Added some npm scripts to make it easier to get started with development.
Added some syntax colouring to the new code editor.
Added another develop script for JS fusing.
Fixed initialization errors with CodeMirror.
Updated the maxAge for sessions and cookies.
Restored the ability to save and edit restored documents.
The new editor now works properly with live preview mode.