Make platform.sh sensitive to all failures

Without "set -e", if you run this script using older cabal, it might continue running after failing to create a sandbox, which would install hptool's dependencies into user's local cabal installation.
Merge pull request #127 from gleber/patch-1

Make platform.sh sensitive to all failures