DRY up .gitlab-ci.yml

Our .gitlab-ci.yml file has become unruly with the addition of blog only review apps.

Lets DRY up it up and refactor some logic into an external rake task or bash script.

More info TBD.