Added first version of auto sewing

Similar to the 'Sew' function in Hammer, the edges of the displacement
maps of two neighbouring brushes will now be sewn together to remove
gaps in the terrain. Corners still need work.