[ticket/12982] Refactoring: made most JS nice.

PHPBB3-12982
[ticket/12982] Refactoring: made JS in adm nice

PHPBB3-12982
[ticket/12982] Refactoring: Cleaned up phpbb.search

PHPBB3-12982
[ticket/12982] Refactoring: Cleaned up forum_fn.js

PHPBB3-12982
[ticket/12982] Refactoring: Cleaned up crazy insert users stuff

PHPBB3-12982
[ticket/13005] Add event to display_forums() to modify category template data

While there're events to modify/add FORUM_POST/FORUM_LINK template data,
such an event is missing for FORUM_CAT forum type.

PHPBB3-13005
[ticket/13006] Add variables to the 'core.modify_quickmod_actions' event

Add $quickmod and $action variables
for the 'core.modify_quickmod_actions' event trigerring
to avoid of using global operator in corresponding extensions.

PHPBB3-13006
[ticket/12976] Correctly use plurals for attachment count in UCP navigation

PHPBB3-12976
[ticket/13052] Restore timespan parameter for check_form_key()

PHPBB3-13052
[ticket/12982] Refactoring: Killed undescriptive variables

PHPBB3-12982
Merge pull request #2939 from nickvergessen/ticket/13052

[ticket/13052] Restore timespan parameter for check_form_key()

* nickvergessen/ticket/13052:
  [ticket/13052] Restore timespan parameter for check_form_key()
[ticket/13042] Remove unused variables

PHPBB3-13042
[ticket/12734] Remove unnecessary error supressing

PHPBB3-12734
Merge pull request #2936 from nickvergessen/ticket/12976

[ticket/12976] Correctly use plurals for attachment count in UCP navigation

* nickvergessen/ticket/12976:
  [ticket/12976] Correctly use plurals for attachment count in UCP navigation
Merge pull request #2940 from Senky/ticket/13042

[ticket/13042] Unused var in login_box()

* Senky/ticket/13042:
  [ticket/13042] Remove unused variables
Merge pull request #2903 from rxu/ticket/13006

[ticket/13006] Add variables to the 'core.modify_quickmod_actions' event

* rxu/ticket/13006:
  [ticket/13006] Add variables to the 'core.modify_quickmod_actions' event
Merge pull request #2901 from rxu/ticket/13005

[ticket/13005] Add event to display_forums() to modify category template data

* rxu/ticket/13005:
  [ticket/13005] Add event to display_forums() to modify category template data
[ticket/13057] Add $phpbb_dispatcher to the global in mcp/mcp_report.php

PHPBB3-13057
Merge pull request #2944 from Nicofuma/ticket/13057

[ticket/13057] Add $phpbb_dispatcher to the global in mcp/mcp_report.php

* Nicofuma/ticket/13057:
  [ticket/13057] Add $phpbb_dispatcher to the global in mcp/mcp_report.php
Merge pull request #2941 from Senky/ticket/12734

[ticket/12734] Custom profile manager should not suppress errors when inserting user rows

* Senky/ticket/12734:
  [ticket/12734] Remove unnecessary error supressing