adds GitHub Enterprise support by allowing the github_api_url to be specified

I've tested this on our GHE instance and it works great.  Thanks for nbviewer!
Aha, the class definition of the default is getting written over in `__init__` here.