Init Codemirror on div instead of textarea.

* The textarea was emptied on keydown and blur.
* Fixes the flasing buttons, without a workaround.
* Fixes the editorHasContent on blur.
Remove unused dependency.
Merge pull request #3011 from oskarhane/editor_execution

Browser: Fixing editor not binding to model correctly.