Improve and fix Attributes builder
Add initial image metadata implementation #1453
Change image dimension reading in XHTML #1453

Remove Java extension for ImgUtils and use ImageMetadataModule instead.