Add support for upcoming Commit API changes (in 6.1)

Add Project.get_commit() and Commit.diff() support.
(doc already updated)