Fix parent process environment propagation to child

Third argument of child_process.spawn was not correct according to the [docs](http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options). The PR fixes that allowing to pass parent process environment to the child.