Only wait for drain event on stdout when stdout would be in non-blocking...

Bug fix for issue https://github.com/reid/node-jslint/issues/68 that I created. It checks if stdout is a terminal before waiting on the drain event - if it's not, then it just exits directly.