[cbuild] Add support for regression data

If the cbuild sends a JSON message in the form below, it will be parsed
and additional information will be sent to Gerrit.

```json
{
  "result" : false,
  "regression": true
}
```

The status message in Gerrit will then say
"FAILURE (REGRESSIONS DETECTED)" if regression is `true` or
"FAILURE (NO REGRESSIONS DETECTED)" when regression is `false`.

Legacy results are not changed, but support for them will be removed in
a follow-up CL once they are drained from Cloud Storage and the cbuild
service is switched to provide the new format.

Bug:b/167667100
Change-Id: I7f48ca5cfbb7d7b15a213f7a0ab4f05a3fca5b1a
Reviewed-on: https://dart-review.googlesource.com/c/recipes/+/171560
Reviewed-by: Karl Klose <karlklose@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
6 files changed