Add merge script (wip, see gh-10).