Merge pull request #6 from cag/master

Rewrote it to have it work with CodeMirror v3.0