Add retry option to CI jobs
The number of CI job failures that are fixable by retries are increasing. With https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12909 we can now configure CI to automatically retry failed jobs, to a maximum of 2 retries. We should probably utilize this, especially for package builds.