Merge branch 'stable-3.3' into stable-3.4

* stable-3.3:
  Fix the default logic in managing refs-filter
  Reuse Gerrit code for head update
  Add HEAD update REST API endpoint
  Add project initialisation during fetch REST Api call
  Add project delete REST API endpoint

Change-Id: I00d81c7eadc25c8f1d3b55b6479c94630804e7f2