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).
I think rails calls the `after_commit` on observers by it self. If they do, we would sent the notification again to the users because the after commit is also executed on update.