Add did-deactivate and did-attach events

mainModule.onDidAttach invokes callback for new VimState instance when
vim-mode is attached to a new TextEditor

mainModule.onDidDeactivate invokes callback when vim-mode package is
deactivated