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!
What I would do here instead is just get from the environment variable here and toss the `github_api_url` line on line 29.