add attribute mimeCode in EmbeddedObject and correct template
Merge pull request #46 from oriol/master

add attribute mimeCode in EmbeddedObject and correct template