POST api/v4/projects/:id/pipeline should accept variables

Last release this endpoint was created by a community contributor, in part to deprecate the builds/trigger endpoint.

To be able to fully depreciate this endpoint however, it should be able to accept the variables.

/cc @grzesiek

As continuation of: gitlab-org/gitlab-ce#14519

Edited by Fabio Busatto