Adds support for GitHub Enterprise.

Fixes #32