[CLEANUP] Reformat classses, add documentation, import ns classes

For all "Classes" classes (except the Xclass):
- reformat code (use tabs insteed spaces in a few files)
- use "use" to import ns of classes
- add same documentation to a few functions

Change-Id: I0b567f49a2540c405c5db30e518f51194101778b
Reviewed-on: https://review.typo3.org/31121
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau