[WIP] fix unittest issues with busted 2.x

Followup of https://github.com/neovim/neovim/pull/1098#issuecomment-54712118

This is on top of @fwalch's commit because these scoping issues don't occur with busted 1.x.

Regardless of what's going on with busted, it's probably a good thing to avoid global scope. 

ping @aktau because this touches the lua C preprocessor and I'm hoping there's a chance you might have a clue why `popen()` is being weird.

---

For reference, this PR should fix the issues noticed by ZyX here: https://github.com/neovim/neovim/issues/903#issuecomment-47494001
> Not sure I follow. Isn't that why we check if vim_init_called ~= nil on line 128?

Indeed, but I was theorizing that the reason it worked before was that some file calls a function that indirectly calls some initialization functions. Which would thus be called twice now.