[transfer-engine] Ensure notifications are shown for non-file transfers

Allow MediaItem::ResourceName to be passed to sendNotification() when
MediaItem::Url is empty, as it will be if an uploader is sending a
non-file resource such as a vCard.