Allow update head with Fetch replication global capability

If a user has been granted the global capability to run
pull replication, then it should also be able to update
the project head, otherwise the replication would be
interrupted when the project's head default branch is
updated.

Change-Id: I6fa89490e406a7b966ab8e89c173e5bb47271745
7 files changed