Plugin.FolderStore: Allow plugins to get folders from variant id

Add FolderStore::get_folder_for_variant and ::folder_variant_type,
provide an initial implemetnation and update API docs to point to this
use case.
3 jobs for mjog/folder-plugins in 20 minutes (queued for 2 seconds)