Merge branch 'stable-3.6' into stable-3.7

* stable-3.6:
  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: I7941a6a35a3308f835bb315c8dd8aa3f1607994b