[TASK] Help debugging by logging calls to hooks

Change-Id: Ic8b72c5f1cdd25b2a5d9359e826dc52d4fe04012
Reviewed-on: http://review.typo3.org/33225
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>