bugfixes + tests + manager::detach
Merge pull request #3116 from quantum13/events_manager

[2.0.0.] EventsManager: bugfixes + tests + detach