Merge branch 'hotfix/#6949-form-factory-undefined-hydrator'

Close #6949
little code improvements and performance improvements
Merge branch 'cs/#6953-code-quality-improvements' into develop

Close #6953
Forward port #6953
Move error generation method to abstract controller
move the model creation logic to controller plugins
revert the missing docblocks
revert the method name change
revert the array syntax
fix docblocks in the new controller plugins
revert the array syntax
add tests for new functionality
update the list of plugins for autocomplete
add PHP_EOL to new controller plugins
fix wrong namespace import in console plugin
#6956 - adding deprecation notice for `AbstractController#createHttpNotFoundModel()` and `AbstractController#createConsoleNotFoundModel()` (to be removed in 2.5)
#6956 - fixed return types for `AbstractController#createHttpNotFoundModel()` and `AbstractController#createConsoleNotFoundModel()`
#6956 - removing unused imports and redundant docblocks
#6956 - removing unused import
#6956 - adding license headers, minor cs fixes (spacing)
#6956 - rewrote test case for the `CreateHttpNotFoundModel` controller plugin to be interacting on it as a unit test