Lua: Cleaned up some code

Lua: Fixed event "Update"
Lua: Fixed possible crash in world.CreateEntity
Lua: Removed debug message in event.Call