Validation, phpdoc

Injected Validator in Editor.
Moved AbstractBlock validation in a constraint.
Fix phpdoc