lua : add a way to get the hovered image and the action_images

dt.gui.hovered : the id of the hovered image or nil if no image is hovered
dt.gui.action_images : a table of images on which the user expects us to act.
	It is based on both the hovered image and the selection and is
	consistent with the way darktable works