non-destructive solution to the command-path spaces bug

Properly resolves backslash-escaped spaces on *nix and quoted paths on windows, without eliminating the safety net for command strings which improperly include arguments. Properly quotes the Node.js executable path on Windows.