update CodeMirror to 3.24

@jdfreder says this contains fixes that should be backported to 2.1