Add VimMode.observeVimStates

VimMode.observeVimStates works the same way as
Workspace::observeTextEditors