Bug 1025552 - [Messages][Refactoring] Refactor attachment.js and specifically move rendering part to a separate module. r=julienw

Maybe we will need to set the image width/height to 0 and nullify the image