Implement previewing of images pointed by URLs in popovers

Clicking on an URL ending in .png, .jpg, .jpeg, .gif or .webp will load the
image asynchronously in background using GIO and once it's loaded it will be
shown in a popover. Clicking outside the popover dismisses the preview.