Support results no expected results for e.g. syntax tests

(manifest_new_test): Handle qt:query <uri> for just a query URI, no
data or results.

(manifest_test_run): Handle NULL expected or actual results and
compare them either is NULL.