An error missed in Post.php and a couple of wrong indexes in Emailuser.template

Signed-off-by: emanuele <emanuele45@gmail.com>
Fixed a wrong variable in report to moderator error handling

Signed-off-by: emanuele <emanuele45@gmail.com>
A javascript object to deal with "live" error handling with the new template

Signed-off-by: emanuele <emanuele45@gmail.com>