Fix EZP-23226: Selection custom attributes on embed tags are not stored

The feature, which is documented online and in content.ini, is as far as I can tell simply missing in the code. Added here, based on similar code in eZOEXMLInput::embedTagIsImageByNode() and embedTagContentType().

https://jira.ez.no/browse/EZP-23226