Fixed wrongly generated class name in Entity classes

See also https://github.com/Guite/MostGenerator/issues/321 where this is described.