Added OnSpawn and OnDestroy components

These are called by the world.
Fixed minigun not deleting effect entity