Merge pull request #7 from igorw/ticket/11574

[ticket/11574] Fix various path issues in the updater
Merge remote-tracking branch 'upstream/develop' into ticket/11574

* upstream/develop: (575 commits)
  [ticket/11702] Fix forum_posts left over for link-click counts in viewforum.php
  [ticket/11696] Move file to new directory
  [ticket/11696] Rename constructor to __construct()
  [ticket/11696] Remove manual loading of db_tools in extension controller test
  [ticket/11696] Rename db_tools.php so it can be autoloaded
  [ticket/11698] Moving all autoloadable files to phpbb/
  [ticket/11694] Do not locate assets with root path
  [ticket/11692] Don't update search_type in dev migration if already appended
  [ticket/11675] Fix template loop
  [ticket/11690] Old module class names may get autoloaded by class_exists
  [ticket/9649] Display information on index for moderators on unapproved posts
  [ticket/10999] Fix assets_version in ACP
  [prep-release-3.0.12] More changelog items for the 3.0.12 release.
  [ticket/11687] Add assets_version to phpbb_config
  [ticket/11686] Not checking for phpBB Debug errors on functional tests
  [ticket/11670] Consistency with logo: Replace "phpBB(tm)" with "phpBB(R)".
  [ticket/11674] Do not include vendor folder if there are no dependencies.
  [ticket/11685] Remove logout confirmation page
  [ticket/11684] Remove useless confirmation page after login and admin login
  [ticket/9657] Define user before injecting
  ...

Conflicts:
	phpBB/includes/functions_container.php
	phpBB/install/database_update.php
	phpBB/install/index.php
Merge remote-tracking branch 'galaxyAbstractor/ticket/11697' into develop

* galaxyAbstractor/ticket/11697:
  [ticket/11697] author_search() used incorrect parameter
[ticket/11582] Add new service for permissions

Replace calls to the language-array type with a call to get_types()

PHPBB3-11582
[ticket/11582] Use new class for categories

PHPBB3-11582
[ticket/11582] Fix event dispatcher class name

PHPBB3-11582
[ticket/11582] Add event in constructor and add docs

PHPBB3-11582
[ticket/11582] Add methods to return the language string

PHPBB3-11582
[ticket/11582] Use new methods and remove duplicated entries

PHPBB3-11582
[ticket/11582] Use member isntead of a new variable everytime

PHPBB3-11582
[ticket/11582] Remove left over calls to lang['acl_*']

PHPBB3-11582
Merge remote-tracking branch 'igorw/ticket/11574' into ticket/11574

* igorw/ticket/11574: (575 commits)
  [ticket/11702] Fix forum_posts left over for link-click counts in viewforum.php
  [ticket/11696] Move file to new directory
  [ticket/11696] Rename constructor to __construct()
  [ticket/11696] Remove manual loading of db_tools in extension controller test
  [ticket/11696] Rename db_tools.php so it can be autoloaded
  [ticket/11698] Moving all autoloadable files to phpbb/
  [ticket/11694] Do not locate assets with root path
  [ticket/11692] Don't update search_type in dev migration if already appended
  [ticket/11675] Fix template loop
  [ticket/11690] Old module class names may get autoloaded by class_exists
  [ticket/9649] Display information on index for moderators on unapproved posts
  [ticket/10999] Fix assets_version in ACP
  [prep-release-3.0.12] More changelog items for the 3.0.12 release.
  [ticket/11687] Add assets_version to phpbb_config
  [ticket/11686] Not checking for phpBB Debug errors on functional tests
  [ticket/11670] Consistency with logo: Replace "phpBB(tm)" with "phpBB(R)".
  [ticket/11674] Do not include vendor folder if there are no dependencies.
  [ticket/11685] Remove logout confirmation page
  [ticket/11684] Remove useless confirmation page after login and admin login
  [ticket/9657] Define user before injecting
  ...
[ticket/11582] Split permission language strings from logic

PHPBB3-11582
[ticket/11582] Fix documentation for adding permissions

PHPBB3-11582
[ticket/11582] Remove useless prefix

PHPBB3-11582
[ticket/11582] Fix missing @params in the doc blocks

PHPBB3-11582
[ticket/11582] Fix missing closing bracket

PHPBB3-11582
[ticket/11582] Fix extension permission tests

PHPBB3-11582
[ticket/11582] Move file to new directory

PHPBB3-11582
[ticket/11688] Purge TWIG cache

Purge directories
Replace opendir() with DirectoryIterator

PHPBB3-11688