Require notifications if callback is called.

This makes using notifications simpler.  Else the user has to require
`notifications' in his config.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>