Linux support

Hi again,

here is imap_notifier support for linux with libnotify. Code is rebased against my previous pull request (fixes branch).