Media: Add an API to discard a thumbnail
Since the application can provide the media library with a thumbnail for a specific media, it also needs a way to remove that thumbnail from the media.
The application has ownership of the thumbnail it feeds the medialib, so we don't want to blindly remove those files when it could be appropriate.