fixed ref comparison operators for Git::Reference
added compare method to Git::Reference
compare the d member for checking equality
Merge pull request #27 from macgitver/fix/RefsComparison

Fixing compare operators of Git::Reference