Fixes for codemirror version and firebug.
Better carriage return support. Also added small fix for contenteditable in frames.
More fixes for carriage return.