[TASK] Code cleanup / formatting

Fix method / property order, introduce "use" statements, improve
code style, remove redundant closing tags, improve PHPDoc.
[!!!][TASK] Use new TCA overrides mechanism

Parts from the ext_tables.php file are moved to now files within
Configuration/TCA/Overrides.

This requires at least TYPO3 6.2.1!