Add a way to terminate repeated runs.

The normal gtest framework will terminate a run when using the
--gtest_repeat=XX option after any test fails and either the
--gtest_break_on_failure option or the --gtest_throw_on_failure
option is specified. Make the new runner do this too, otherwise,
there is no stop on error logic when doing repeated runs.

Add new unit tests to verify this behavior.

Test: All unit tests pass.
Change-Id: If4d1e3eafc028d8850c73b58c72d9c138a2198d4
5 files changed