Move Ci::Pipeline query in ProjectPipelineResolver to Ci::PipelinesFinder
currently ProjectPipelineResolver
uses an in-place query to retrieve associated pipelines. it should be amended to use Ci::PipelinesFinder
. this will require us to extend the finder (e.g. adding by_iid
) and then using it in the resolver.