added notifyDetach
Merge pull request #16 from ItsAsbreuk/this-as-emitterNAME

added notifyDetach