Fix github js to use API v3

Stolen from the classic theme - see
https://github.com/imathis/octopress/pull/675 for details
Merge pull request #3 from foobacca/github_api_v3

Fix github js to use API v3