[3.0] VLCMedia: backport v4 metadata API
This backports the new metadata API introduced by !176 (merged) and !195 (merged) written by @Sumou.
This also deprecates the existing implementation but leaves it in place for compatibility.
Depends on !213 (merged)
Edited by Felix Paul Kühne