[GEOS-5143] Update CodeMirror to the 4.x series
[GEOS-5143] Detect codemirror unsupported editors and fall back to textarea