QA: Move `GetJobStatus`/`RetryingWhileJobStatus` to utils

We would like to use them from other QAs involving jobs.

Signed-off-by: Niklas Hambuechen <niklash@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
qa: qa_job_utils: add `RetryingUntilJobStatus`

Dual to `RetryingWhileJobStatus`.
It retries until the given status is reached.

Signed-off-by: Niklas Hambuechen <niklash@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
qa: qa_filters: Make status check less flaky by using retry

The time needed to delete a filter and have jobs that were paused
by that filter be scheduled depends on the size of the cluster.

The polling retry introduced here is more robust than a sleep.

Signed-off-by: Niklas Hambuechen <niklash@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>