Add Is$Type methods to Reference.

This patch adds the following methods to Reference:

	IsBranch() bool
	IsRemote() bool
	IsTag() bool

which correspond to the `git_reference_is_$type` functions in libgit2.