Add Events to the GAUDOUT api.
Fix threading issues.
Also moved drivers/gaudin to drivers/audio as most audio codecs support input and output in a single device.