libgit2: use peel() in the pygit2 example

get_object() is deprecated, and we now have the common peeling mechanism
which we can use to get to the commit more elegantly.
Merge pull request #159 from carlosmn/pygit2-peel

libgit2: use peel() in the pygit2 example