update CodeMirror to 3.24

@jdfreder says this contains fixes that should be backported to 2.1
Merge pull request #23 from minrk/cm-3.24

update CodeMirror to 3.24