Remove legacy hook functionality without breaking API.

In this commit they will simply cease to work.
Merge pull request #1161 from zikula/legacy_hooks

Remove legacy hook functionality without breaking API