BL-503: Add ability to paste images on Linux

This should also fix BL-495, BL-464, and BL-671.
The Gtk version attempts to duplicate what the GetImageFromClipboard() function did on Windows.