Ensure child process detach

There is a bug in node-webkit:

    https://github.com/rogerwang/node-webkit/issues/1096

It is fixed, but we cannot upgrade yet because node-ffi does not compile
for the new version currently.

So we workaround it with manual shell fork