[vim] :global excommand implementation

this patch implements :global excommand in vim.
testing with real vim, I see that if there are multiple matches on a line, then they will all get replaced.  The unit tests should make sure to enforce that behavior.