Merge pull request #26 from md-systems/randomName

Update randomName() to randomMachineName()
Changed entity type reference view_mode to entity_view_mode, fixes #28