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.
Merge pull request #55 from lye/add-is-x-reference-methods

Add Is$Type methods to Reference.