[lit] Add support for attach arbitrary metrics to test results.