added method isCurrentBranch
added method shorthand
added methods isLocal / isRemote
shortened method currentBranch
renamed old methods "references" -> "referenceNames" and added method to get a list with the Git::Reference objects
oops, we should still do error handling right
const correctness
added compare operators for Git::Reference
moved and cleaned up method Reference::destroy
added method Reference::rename
added method Reference::move to set a new target commit
use internal object id cast instead of copy
fixed mem-leaks in Reference::rename and Reference::move
added DWIM (do what I mean) mechanism when looking up references
Merge pull request #19 from macgitver/feature/RefsImprovements

Improvements to references

Ok, so here it goes. Lots of cool improvements for references :)