More resistance to github going down

Summary: Catch more exceptions from urlopen around requests from github

Test Plan:
Make github go down, check that this functions correctly (or just
put the lines outside the except block, if you can't figure out how to bring
github down)

Reviewers: alpert

Reviewed By: alpert

Differential Revision: http://phabricator.khanacademy.org/D2122