medialibrary: add folder listing

This patch adds new functions to list and access the medialibrary folder
interface.
18 jobs for !4 with ml2 in 17 minutes and 35 seconds (queued for 3 seconds)
latest merge request