Refactor: phpdoc / use statement improvements
Import EngineBlock_X509_* as we depend on this.
Added the QA-tools and made the code pass inspection.