Keep sub-processes in ninja's process group.

When all processes are part of the same group one can sends signals
such as (SIGSTOP/SIGCONT) to the whole group which is very convenient.
Currently each sub-process has its own group thus, this patch fix this.