Make images and other in-text plugins editable directly with tinymce or wymeditor

Make images and other in-text plugins editable directly with tinymce or wymeditor by 
forwarding the attributes of the placeholders (particularly class and style) to the rendering context. (Useful for example in picture.html)