Fix attachments error

Signed-off-by: emanuele <emanuele45@gmail.com>
Hopefully better optimized loading of languages in the error class

Signed-off-by: emanuele <emanuele45@gmail.com>
Restructured the Post controller/template to have attachments in only one index of $context - seems more organized

Signed-off-by: emanuele <emanuele45@gmail.com>
Reworked a bit the general hook on the controller to actually be useful (it was always hooking index_action)

Signed-off-by: emanuele <emanuele45@gmail.com>
Split again the Post page template to allow easier replacement of the attachments templates

Signed-off-by: emanuele <emanuele45@gmail.com>
Uniformity of names is a good thing

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #1295 from emanuele45/structuring

Structuring