checks for node and npm before running bin/setup

This can be simplified a little, please see:
https://github.com/thoughtbot/laptop/blob/master/linux#L110

Pretty sure `command` will work in any POSIX-compatible shell.