Refactor CI YAML so that it can run in gitlab-rails too NO CHANGELOG
Preparation for #335 (closed)
This splits gitlab-ci.yml in a part that is local to the stand-alone Workhorse repo, and a part that can also run under gitlab-org/gitlab.
Edited by Jacob Vosmaer