Build results check into tests

It will be more portable to check the results of the tests than
to diff the torsocks debug output.
Inject expected results into res_* tests
Provide helpful output/instructions to user

After running the test, print some useful instructions in the case
where any of the tests fail.