[2.0.0.] EventsManager: bugfixes + tests + detach

- bugfixes in managing with priority
- tests for events with priority
- new method Phalcon\Events\Manager::detach to detach listener + tests for it