Add Gist API

This PR is to support https://github.com/github/hub/pull/601.

/cc @mislav
This awful fix is to prevent the 2nd request breaking out of the test server and going to actual `gist.githubusercontent.com`. Better suggestions welcome.