Add support for drag and drop of files

Tested in Nautilus, Thunar, PCManFM, and Dolphin.
No Windows/OS X testing possible, but it should work.