Refactoring Document with the view to make CodeMirror.Doc created on demand. For now just putting it behind getDoc() function.
Better initial state, with a dummy text a bit more informative.
Redundant member.
Tab size = 2.
Progress towards persistence refactoring (needed to make CodeMirror.Doc created on demand).