Prefer younger merge bases over older ones.

git-core prefers younger merge bases over older ones in case that multiple valid merge bases exists.
Add a test case.
Merge pull request #1681 from arthurschreiber/patch-1

Prefer younger merge bases over older ones.