Cm configurable

Start refactor to make codemirror configurable.

This now allow a per class default value for codemirror as well as per instance configurability with on option dict.