use Repository.revparse_single(); fixes #64

Fixes #64.
Per pygit2, tags now trump branches.