[ticket/11566] add interface for captcha

Add basic captcha template while reporting post
when the user is not a registered user.

PHPBB3-11566
[ticket/11566] add error functionality

add $error which stores the captcha error when captcha validation fails

PHPBB3-11566
[ticket/11566] add error in template

Check if error exists, then display it
in the report post template.

PHPBB3-11566
[ticket/11566] display error instead of trigger_error

When the error report is empty display error
in the template instead of trigger_error

PHPBB3-11566
[ticket/11566] add captcha reset and hidden fields

If captcha is solved and some other error pops up, store the
captcha in a hidden field.
Reset captcha if reporting the post is successful

PHPBB3-11566
[ticket/11566] add tests for reporting post

Functional test for reporting post and check if captcha validation
is required for guests and not for registerted users

PHPBB3-11566
[ticket/11566] Use language variable instead of hardcode

Add language variable in tests

PHPBB3-11566
[ticket/11566] Revert forum permission changes

Revert the f_report permission for guests in the functional tests

PHPBB3-11566
[ticket/11566] Rename var to $visual_confirmation_response

PHPBB3-11566
[ticket/11566] Use the new constant CONFIRM_REPORT for captcha init

PHPBB3-11566
[ticket/11566] Add captcha to report post template in subsilver

PHPBB3-11566
[ticket/11566] Check that guest doesn't have reporting permission by default

PHPBB3-11566
[ticket/11566] Remove extra pair of brackets from conditional statement

PHPBB3-11566
[ticket/11566] Subsilver template error displayed after table headers

PHPBB3-11561
Merge remote-tracking branch 'remotes/dhruvgoel92/ticket/11566' into develop-olympus

* remotes/dhruvgoel92/ticket/11566:
  [ticket/11566] Subsilver template error displayed after table headers
  [ticket/11566] Remove extra pair of brackets from conditional statement
  [ticket/11566] Check that guest doesn't have reporting permission by default
  [ticket/11566] Add captcha to report post template in subsilver
  [ticket/11566] Use the new constant CONFIRM_REPORT for captcha init
  [ticket/11566] Rename var to $visual_confirmation_response
  [ticket/11566] Revert forum permission changes
  [ticket/11566] Use language variable instead of hardcode
  [ticket/11566] add tests for reporting post
  [ticket/11566] add captcha reset and hidden fields
  [ticket/11566] display error instead of trigger_error
  [ticket/11566] add error in template
  [ticket/11566] add error functionality
  [ticket/11566] add interface for captcha
[ticket/11617] Missing U_ACTION in acp_captcha.php

http://tracker.phpbb.com/browse/PHPBB3-11617

PHPBB3-11617
[ticket/11617] Remove spaces and tabs from empty lines

PHPBB3-11617
Merge remote-tracking branch 'VSEphpbb/ticket/11617' into develop-olympus

* VSEphpbb/ticket/11617:
  [ticket/11617] Remove spaces and tabs from empty lines
  [ticket/11617] Missing U_ACTION in acp_captcha.php