improve the codemirror mode - show errors and warnings
Merge pull request #1 from devoncarew/devoncarew_improve_cm

improve the codemirror mode - show errors and warnings