Add phpmd post-script
Simplify constructor
Update and optimize HandlerQueue
Add EventResult interface and trait
Add valid event types

event types may be enabled and disabled