moved codemirror to a wrapper module
added codemirror json support
raised codemirror version dependency