Fixes undefined loop variables (fixes #657)
Add editor type mappings to control panel
Refactor codemirror plugin

It no longer overrides the edit-text widget. Instead we use the editor
type mappings to select which content types should be handled by which
editor.
Docs tweak
Merge pull request #658 from csugden/patch-1

Fixes undefined loop variables (fixes #657)