#38: made LuaState::pushEntity push nil in the case of a null entity pointer, and implemented LuaThing::getLocation, setLocation and clearLocation