playlistcontainer: folder support

This adds support for folders in playlistcontainer. Feedback is, as always, very welcome!