Thumbnails reorg 2

This pulls out the thumbnail-specific code from VideoHandlers to a new Thumbnails extension.