Apollo MR pipelines - Implement pipeline flags

In app/assets/javascripts/ci/merge_requests/utils.js, we can format all of the pipeline flags just like they are in REST to ensure full compatibility by assigning graphQL data to the REST-like shape and rendering labels

Edited by Frédéric Caplette