added --rerun flag which reruns the tests (with different hashseeds
and such) the specified number of times.  Exits on first failure.