Enhancements to the sound system

Added new SoundPlayAtEvent and redone SoundPlayEvent.
It is now possible to set the properties of a SoundEvent through event
handlers.