Refactor gitlab.spec, add Gemfile patches and systemd services