Add github-domains config value for GitHub Enterprise setups, fixes #728

Not fool proof yet, should be tested, waiting for feedback on #728.