Remove useless TESTDIR parameter
Fix cleanreport bug
Latency reporting overhaul

max_latency isn't terribly useful in practice.  Replace it with 99th
percentile latency in all instances.  In passing, clean up ad-hoc report
SQL files.

Note that this commit alters the results database schema.