BL-503: Add ability to paste images on Linux

This should also fix BL-495, BL-464, and BL-671.
I usually like to see a class comment on any (new) class. This one needs it less than most, but if there's any reason to update the PR you might consider a one-line explanation of its purpose.