Switch ListByRepo() to use addOptions().

`ListByRepo()` was pretty much unusable without this change, as the GitHub API rejected the empty query parameters.

This also adds support for pagination.