qa_crowbarsetup: add function wait_image_active
qa_crowbarsetup: add function wait_image_active

to reduce code-duplication

SUSE-Cloud/automation,vmoravec/automation,aspiers/automation,SUSE-Cloud/automation,vmoravec/automation,vmoravec/automation,vmoravec/automation,aspiers/automation,aspiers/automation,gosipyan/automation,gosipyan/automation,gosipyan/automation,SUSE-Cloud/automation,aspiers/automation,SUSE-Cloud/automation,gosipyan/automation