gqltest: add tests for sub-repo permissions
Created by: sashaostrikov
for direct commit access, repo archive requests and find references search
the only test left is for finding precise references (Confirmed after uploading an LSIF dump). I just didn't find a way to write such test
Part of https://github.com/sourcegraph/sourcegraph/issues/27448
Test plan
This PR contains integration tests