Add support for deleting images and variants.

Signed-off-by: Chris Lamb <chris@thread.com>