Reinitialise libnotify per notification

Fixes issue on Xfce4 where notification are not being sent after a period of time.
Issue #370
Merge branch 'master' into xep-0223