Upgrade CodeMirror and other deps

Big upgrade to CodeMirror but I seem to have got it working. Upgraded other deps that were a bit old, including Brucedown which now has a newer pygmentize (including Swift syntax highlighting support ... yay?).

Published to npm under the tag 'dev' as 3.0.0-pre01. Would appreciate others giving this a try before we release a new version.