workaround for windows to ensure console.log is always flushed before pr...

...ocess.exit

This is a potential solution for https://github.com/facebook/jest/issues/110

I don't have much experience with Node yet so I might be missing something here, but it at least fixed my problem and am now seeing all test results logged to console.