Added support for Gnome's gio

Instead of using our own Freedesktop's trash implementation,
use gio when it's available.