Pass $PATH by command line

On Yosemite the `$PATH` is not inherited by the `open` command, so we have to explicitly pass it by command line to make `atom` command inherit the `PATH` environment variable.

Fixes https://github.com/atom/atom-shell/issues/550.