Added compare method

see https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/repositories.md#compare-branches-tags-or-commits