Move merge base calculation to GTRepository
Unit tests
Merge pull request #179 from libgit2/commit-merge-base

Move merge base calculation to GTRepository