Upgrade to CodeMirror 4.7
Remove unsupported modes