[ML/Tests] Fix warnings in tests.
Merge pull request #499 from endJunction/FixWarningsInMeshLibTests

Fix warnings in MeshLib tests.
get a dimension from an element type
support non-square elements in regular mesh generation
support non-square elements in generateStructuredMesh tool