More bugfixes for notifications.
Implement 'force' option for SEND_CUSTOM_*_NOTIFICATION.
Implement the 'notification_period' attribute.