Introduce git_branch_tracking_name()

This is an attempt to fix libgit2/libgit2sharp#276.

The current API `git_branch_tracking` only accepts concrete `git_reference`s which can't be produced if the reference doesn't exist yet.

This should help retrieving remote and local tracking branches from orphaned references.