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

Yeah, you're right, will fix that, wondering why we didn't do it before.