Removed bug in MshLayerMapper::CreateLayers().

The bug occured in the case the mesh contains line elements.
Merge pull request #149 from TomFischer/MeshLayerMapperFix

Removed bug in MshLayerMapper::CreateLayers().
Update for clang compiler.