Refactor lsif upload proxy handler.
Created by: efritz
This refactors the lsifUploadProxyHandler so that the github-specific log for validating repo ownership via a token is in its own function. This will make it easier to support additional code hosts on dot-com. See #4967.