node: kill entire process group in terminate

mnexec already puts the shell into its own process group. Killing the entire
process group cleans up after any background processes the user left running.
Merge pull request #250 from rlane/killpg

kill entire process group in Node.terminate