Preserve constructor property on the editor instance.

In some cases it's more convenient to access `CodeMirror`
from the instance itself, but the way prototype was defined
made `editor.codemirror` be an `Object` instead.