support github api pagination

The github api paginates its ouput if it contains too many elements.
This patch adds support for pagination. It collects and accumulates the paginated results.
See: http://developer.github.com/v3/#pagination

Using the parameter "per_page" could save some requests and thus time, but only some resources support this parameter.