make it possible to add the class/style attributes in media form fields

The class -and label attributes can be used in all other form field types, but not in the media form field type.