implements the gist github api

I think the only missing function is 'is_starred'.  This produces
2 valid responses (204 if starred or 404 if not) which would require
a custom API function.