Small .gitlab-ci.yml refactor

Remove comments from file and generalise image, before_script and
services sections to all jobs.
1 job for main in 1 minute and 43 seconds (queued for 2 seconds)
latest