Add support to CiConfig resolver to enable search by sha/ref

We need to pass a ref/sha variable to the CiConfig resolver in order for the frontend to be able to include it and have include: reference a specific branch.

See details here: https://gitlab.slack.com/archives/C0SFP840G/p1623855226328500 (internal link)

Edited by Laura Montemayor