fix for not being able to submit a form with a blank template
source code formatting with codemirror in readonly mode
simplified codemirror highlighting in readonly mode
codemirror readonly mode, Reset to default button for template editing, codemirror for JS, model-nuking after app publish