Don't emit notify() when there's no notification in NotificationCollector's queue
Don't emit notify() when there's no notification in NotificationCollector's queue

This prevents 'ghost' notifications appearing on some places and makes the
code easier to unit-test.

kolab-groupware/akonadi,kolab-groupware/akonadi,kolab-groupware/akonadi,kolab-groupware/akonadi