Add the support and test for 1D mesh extrusion.

Support for uniformly extruding an n-dimensional mesh to an (n+1)-dimensional mesh.