Add ['data']['type'] and ['data']['typeID'] to 'ActorSpawned' events.

This is done using a typeID property, overridden in each subclass to
return the deepest class ID available.