Use CodeMirror meta.js to describe modes

Instead of writing out the mode_map table by hand, compile and include
meta.js from the CodeMirror distribution.  This script lists all modes
in simple JavaScript objects.

An advantage of this format is the name property is human readable,
and does not require munging MIME type strings.  Adding new modes now
changes only 2 files in the client (Modes and ModeInfo).

Change-Id: Ifa0c7af77681f72b8210fca83a7af6a9ef1c6541
10 files changed