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