Fix #438 - don't use Unix pipes for our commands, use node pipes

This fixes `npm start` and `npm test` so you don't need to use a pipe at all.  It also fixes a bug in habitat, where you can't overwrite a variable in your `env` with something in the environment.