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>