Added AsyncEmitter class using threads (#18)
Added on_success and on_failure callbacks