Added CodeMirror editor gadget + qunit tests