Enterprise Github resolver

The bulk of the extra code is the same as original github, some paths change for the enterprise version.

I haven't yet signed the CLA, but I figured I'd open this up to discussion.