Support changing owner from within scripted maps.
Use INotifyOwnerChanged for updating internal references.
Merge pull request #6746 from pchote/lua-ownership

Fix ChangeOwner bogosity.