Added support for mode2.
Forced event data types for stdout / stderr data to string.
Improved killing of processes using process.kill (mode2 left detached
subprocesses around when using child_process.kill)