Merge pull request #141 from libgit2/ahead

Added -calculateAhead:behind:relativeTo:error:
Merge remote-tracking branch 'origin/master' into ahead