Fixed minimum doctrine common version to 2.2.0-dev

Removed some unused uses
Fixed minimum doctrine common version to 2.2.0-dev

Removed some unused uses
Merge branch 'master' into 2.2
Merge branch 'master' into 2.3
Merge branch 'master' into 2.2
Merge branch 'master' into 2.3
Tested WorkerModule and Edited some code

* Refactored class for being more testable
* Fixed some CS
* Tested full class
Merge branch 'master' into 2.3
Merge branch 'master' into 2.2
Merge branch 'master' into 2.3
Merge branch 'master' into 2.2
Merge branch 'master' into 2.3
Merge branch 'master' into 2.2
Merge branch 'master' into 2.3
Merge branch 'master' into 2.2
Merge branch 'master' into 2.3
Merge branch 'master' into 2.2
Merge branch 'master' into 2.3
Merge branch '2.2'
Merge branch '2.3'