throttle github api requests

the github search api needed by the sync script limits us to 20
lookups/min. Added code to wait until reset if we exceed the limit with
any get request.