Recheck option for rerunning only the subset of tests which previously failed.

Suggested by CASTEP developers.
Report correct values for test and benchmark outputs in failed test summary.

The output was accidentally the wrong way round in the summary line and
correct elsewhere.  This is only an output fix; detection of test
failures is unaffected.

Reported by: Keith Refson.
Merge remote-tracking branch 'origin/recheck'