Display recaptcha also on form errors. (closes #186)

Also improved the code that renders recaptcha and recaptcha validation
error.