Fix unit-tests failing on windows

Execute `node bin/lb-ng` instead of `bin/lb-ng`, because Windows does not
recognize hasbang notation.

Modify lb-ng to exit in the next tick, so that stdout & stderr are flushed
before exit (workaroud for joyent/node#3584).