Adding pagination to getCommits

The Github API supports pagination, using the page and per_page parameters. I've included support for that from within the function getCommits