[wip] better vim mode

As discussed in https://github.com/ajaxorg/ace/issues/2102 this adds a way to use CodeMirrors vim mode with Ace

the branch is based on v1.2 only commits after cf38db8 are new

@lennartcl