qa_crowbarsetup.sh: transform more if's to functions
add check_or_exit function, catch exit code, fix typo

Conflicts:
	scripts/jenkins/run_tempest.sh