[vim] Expose context (or mode) to the Vim API and add :nmap + :vmap.

Also fixed a bug in context matching.

Some headway towards https://github.com/marijnh/CodeMirror/issues/1629