Iv/gerrit validate connection
Created by: varsanojidan
Adding a working implementation of the ValidateConnection method
Waiting on https://github.com/sourcegraph/sourcegraph/pull/35749 to be merged first before this.
Closes https://github.com/sourcegraph/sourcegraph/issues/35747
Test plan
Created unit tests for coverage