Added pagination support for PullRequest

Made a better API than #44 and add tests