better vim mode

As discussed in https://github.com/ajaxorg/ace/issues/2102 this adds a way to use CodeMirrors vim mode with Ace

I think this fixes all the issues in https://github.com/ajaxorg/ace/labels/vim-mode

@lennartcl