spawn command with gnode like with duo

so it actually works on linux and windows.

```bash
#!/usr/bin/env node --harmony-generators
```

works only with Mac OSX. On Linux you can't pass flags to an environment  (see http://stackoverflow.com/a/20980886).

So I've basically changed it to how `duo` does it.