Add pagination support to the repo.branches calls. 

Also includes commiting the built version of the patch command from #129
Could you please add the pagination comments here?

```
   # - page or query object, optional - params[0]
   # - per_page, optional             - params[1]
```