Merge pull request #5 from bauhouse/extension

Fix GitHub OAuth issue by adding a user agent to the file_get_contents options
Fix an issue connected to changes in the GitHub Gist API

The user was not being saved when a Gist was created.