Added support for addons, keymap and Javascript handlers in config.
Added ability to use custom modes located outside CODEMIRROR_PATH.