[BUGFIX] Update interface definitions in hooks

- Required for PHP 5.3.3 compatibility

Change-Id: If5ec1b2d9c659ef3bbea0ff92501102d8157915f
Reviewed-on: https://review.typo3.org/31150
Reviewed-by: Stefan Rotsch
Tested-by: Stefan Rotsch
Merge remote branch 'github/master'