Added method to get all commits for a project

I had a need for this in a project I'm working on, so I added it. I don't see any unit tests for similar methods, so I wasn't sure how they should be written.