feat(mdtest run/auto): support TAP (test anything protocol) test output
format and add --verbose flag for mdtest

mdtest now is able to report test output in TAP format.  If --format
option is set to '--format=tap', mdtest will run
"pub run test --reporter json" to collect test output in json format
and transform json output into tap output on the fly.  The default
behavior is '--format=none' which use the standard dart test output.

mdtest now support --verbose flag.  If -v or --verbose is specified,
printTrace() will direct output to the standard error stream.
Otherwise, printTrace() does nothing.

Replace some print invocation with logging print.

Change-Id: Ie98d7b61393a368ec06e6ad536d2226973e2d322
14 files changed