[TASK] Use namespaced classes

Change-Id: If346063241600a96857ab85b73195b8d4137bb0e
Reviewed-on: https://review.typo3.org/28975
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer