set -e in .travis.install.deps.sh
better darwin detection
auto merge of #910 : stepancheg/cargo/travis-install, r=alexcrichton

* `set -e` (script should crash on first error)
* detect darwin if running not on travis (and `PLATFORM` and `TRAVIS_OS_NAME` variables are unset)