Split the CodeMirror object overlay from the editors overlay
Remove unused import
Move editor instanciation as method on CodeMirror object
Move version(), modes(), mimes() to codemirror object overlay
Move hasShownHint, hasDialog and mime/mode/keymap methods to
CodeMirroroverlay