Add a --color flag to test binaries

It uses the same behavior as rustc's.
auto merge of #14760 : sfackler/rust/test-color, r=alexcrichton