Add support for freedesktop notifications

This patch add support for freedesktop notifications.

Not tested as I fail to build ccnet :-/