Unit tests for job filtering

This tests only the filter logic; the QA testing filter management + logic
comes later.
qa_utils: Make AssertCommand return stdout/stderr as well

This is usefull if the run commands output something that's needed afterwards.
qa_utils: Allow passing fail=None to AssertCommand

This is for cases where we don't care about the exit code.
WIP: Add filter qa