[CLEANUP] phpmd spelling and variable names

Fix same typos and cleanup the length of variable names.
The names should at least 3 letters, but not more than 20.

Change-Id: I0ced6d2f91f9c5b9bdb7cd6a8961e57aca598646
Reviewed-on: http://review.typo3.org/32234
Reviewed-by: Tim Lochmüller <tim@fruit-lab.de>
Tested-by: Tim Lochmüller <tim@fruit-lab.de>