Extract deliverable behavior of Notifications to observer

Also fixes #555.

With this change, every new notification committed to the database will be automatically delivered when created (unless when "dismissed" attribute is set to true).
Oh, forget it.