try to fix nodejs hanging

back out waitpid fix
use pty.js that merges in niallo:waitpid fixes
add gitignore