Add simple merge cells capability

I needed this for a hack at the weekend.  Didn't have time to do any tests, but it may save someone a few minutes.