Add --static option to flx_build_rtl.

Throw in some more modes for CodeMirror.