Add null check to eliminate exception caused when objects are being deleted.
Fixes exception "Error in EncodeProperties for ...".
Call into SceneObjectPart to subscribe to collision events when the
script collision flags change (AggregatedScriptEvents). This requires
the newest OpenSim 'master' because a new entry to SOP was added.
This makes the Galton board balls disappear when they hit the ground.