Allow deletion of media that are associated with galleries.

Cascade removal from Media to GalleryHasMedia.