add support for annotated tags

This is support for tags as far as I need it.  I'm new to go and libgit2 but I tried to orient myself on your code.  Please have a look.
`ptr` is already of type `*C.git_object`, there is no need to cast it again.