Align with Gerrit master permissions backend

Because of the changes in the permissions backend
the Gitiles integration needs to adapt to the extra
exceptions and the new methods signatures to check
for project permissions.

Change-Id: Id8a964c8f751aa177606db53a01b52ab2e73593d
2 files changed