install-autotest-server.sh: Abort script if failed to install deps

Small fix to the autotest install script. We just had a problem with a busted yum found on a Fedora 19 install that made us realize that the script should stop when any yum or apt-get problems happen.