bump version to 0.2, add chromium-compatible stuff like retries

This adds support for retrying failed tests with --retry-limit and
writing and/or uploading the test results (using the chromium json test
results format).

Lots of other command line option cleanup as well.