Added compiler pass for resolvers

* Changed namespaces for some classes
* Added compilerpass for unique eventListener and created a tag
* Added this tag to all needed resolvers
* Fixed some PHPCS