Context menu bookmarking for links and images

Still needs a fair bit of tidying up.