Add OnPlayerShootDynamicObject and fix a possible bug

OnPlayerShootDynamicObject is derived from OnPlayerWeaponShot in 0.3z.
I've also fixed a possible bug where OnPlayerEditDynamicObject and
OnPlayerSelectDynamicObject would not be propagated to all scripts.