Add endpoint to get the jobs scoped to a pipeline.
The endpoint dropped, get ':id/repository/commits/:sha/jobs', should be replace by a new endpoint.
Fixes gitlab-org/gitlab-ce#28515 [ci skip]