Merge branch 'stable-3.7' into stable-3.8

* stable-3.7:
  Allow update head with Fetch replication global capability
  Revert "Reuse Gerrit code for head update"
  Fix pull-replication update head with Gerrit replica
  Ignore all broken tests on Gerrit replica
  Add indirect commons-lang3 dependency
  Do not provide response body when apply-object is successful
  Do not record fetch replication metrics when all refs are excluded from fetch task

Change-Id: Ie798a018f9d0ffb2fee5a5702d7a77f3808ad3b4