Paginate github sync results. Fixes #915

Existing unit-tests are passing fine but it needs to be tested further; I don't have the infrastructure setup with a oauth token.