Major improvements on attachments logic (class, bbcode, layouts)
Merge pull request #2255 from mahagr/feature-attachment

Major improvements on attachments logic (class, bbcode, layouts)