Added CodeMirror addons for code folding, auto closing brackets.