Hooks: nodejs compatibility; define interface hooks.call resp. hooks.register
Hooks: Introduce 'call_hooks_callback'