Removed unused use statements
Remove useless $allowed parameter
DocBlock corrections and typo fixes

Signed-off-by: Graham Campbell <graham@mineuk.com>
Fixed some closure docblocks
Merge pull request #6815 from ibrasho/more-cleaning

[5.0] Removed Unused Imports
Merge pull request #6817 from lucasmichot/5.0-blueprint-json-allowed

[5.0] Remove useless $allowed parameter