Bug #5329 : adding a new rule around WYSIWYG attachment management.
When updating a WYSIWYG attachment for a language with an empty content, the content for language is not saved but deleted. After that, if no content for any language exists for the attachment, then it is deleted from the JCR.
(adding some unit tests around the WYSIWYG controller)
(adding a List Object for SimpleDocument to centralize common behaviors)