qa_crowbarsetup: added 'wait_if_running' and 'die' functions

`wait_if_running` checks if there is a process running and waits until the
process exits, this is useful if you want to use zypper and want to check
that there is no other zypper process running in the server.

`die` prints a message to stderr and exit with the error code passed as argument.
qa_crowbarsetup: check exit codes for upgrade steps
qa_crowbarsetup: use `tee` to have the suse-cloud-upgrade output in the console