Merge branch 'stable-3.4' into stable-3.5

* stable-3.4:
  Add init step for pull-replication
  Give execute permission to entrypoint.sh
  Remove unused env variables
  Expose debug ports in Gerrit
  Do no update Gerrit rpm
  Remove /a from fetch url in replication.config.template
  Add docker-compose to spinup test environment

Change-Id: Iebabc1ca1d38b4c32595dd4c71a24ff6a35f7ccb