add support for multiple content medias

The content model already supports having multiple media attached to it, but until now, the controllers did not support it. This PR extends the content and media controller to allow attaching multiple media's to content