Fix link and image dragging

Ensure we can drag and drop images, and fix copying and dragging of
links so the link title is correctly preserved.

Change-Id: Ib257ee67405ac259c72387616b5d620b163c07b0
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>