Lua: Add global function GetEntitiesByName(entname) that returns a Lua table containing the matching entities