[Added] withSceneObjectFromId function to lua object manager.
[Added] isFromSpawn function to lua spawn mobile module.
[Removed] unused variable in encounter.lua.

Change-Id: I2d275dd7df57297cbc550bf3d0efc2e47ac1c709