Replaced the deprecated global $NOTIFICATION_HANDLERS variable.
Merge pull request #10 from juho-jaakkola/global_notification_handlers

Replaced the deprecated global $NOTIFICATION_HANDLERS variable.