Fix dependencies conflict
Work on events system
More work on events system
Move some events code in Task
Remove TasksQueue::getBefore and getAfter
Update CHANGELOG
Work on events
Add tests for events in tasks
Fix tests
Add priority argument to listener methods