Remove 'defer' vimscript function and add to

python 'vim' module to ensure no vim internal state is touched from background
threads