Future proofing against requests

Oh yeah, the GitHub object can now be used as a context manager! Woohoo! Stole
the inspiration from requests.Session.