Add `Repository#merge_bases`

This returns an array containing all merge bases between one or multiple commits.