nodejs/child-process: use `detached` only when node supports it. Add a test for killing detached process groups