Added parameters to allow pagination

Replace #126

More information here: https://developer.github.com/changes/2014-03-18-paginating-method-changes/