add the ability to override github API url

This adds the ability to use this awesome module with GitHub Enterprise.