[build-and-install.sh] add -e: stop on error
Merge pull request #97 from blasphemy/master

[build-and-install.sh] add option to stop on error