CMS-4616 Media Types - Let Content have Attachments as a property
Made some duplicated code for retrieving the "source" attachment of a Image reusable.