Async load popular modes into CodeMirror

Dynamically load modes after the type of a file has been discovered
from the server. This allows browers to download only the segments
of CodeMirror they need to render the current file(s) being viewed.

Change-Id: I34c037199cd01bf65b051400999d141eb0524cd8
9 files changed