Added support for Github Enterprise

Added support for self-hosted Github Enterprise installations, which doesn't rely on the official Github domain.