[ticket/12109] Bug when setting permissions with "Select all users"

https://tracker.phpbb.com/browse/PHPBB3-12109

PHPBB3-12109
[ticket/12109] Fix coding style

PHPBB3-12109
[ticket/12638] Use require if phpbb_require_updated isn't available

PHPBB3-12638
[ticket/11445] Optimize no of queries in get_global_subscriptions

PHPBB3-11445
[ticket/11445] Improve unit tests for get_global_subscriptions

PHPBB3-11445
[ticket/12352] Add legacy passwords driver for sha1 smf type passwords

PHPBB3-12352
[ticket/12352] Introduce user row to passwords check methods

This will ensure that legacy hash types that might need the user row can
properly check if the supplied password is correct.

PHPBB3-12352
[ticket/12352] Mark salted md5 and phpass passwords driver as legacy

PHPBB3-12352
[ticket/12352] Revert to db auth provider if default does not exist

This will make sure that we will not encounter a non-existing auth provider.
We will revert to the default db auth provider if the one set in the config
does not exist in our auth provider collection.

PHPBB3-12352
[ticket/12352] Add tests for checking smf passwords

PHPBB3-12352
[ticket/12352] Add passwords driver for passwords that should be converted

This driver will only be used for getting the new $CP$ prefix that will signal
that the hash is a legacy hash that needs to be converted.

PHPBB3-12352
[ticket/12352] Use $CP$ prefix for converting passwords in manager

PHPBB3-12352
[ticket/12352] Add $CP$ prefix to passwords that need to be converted

Also set user_pass_convert to 0 in the process of doing so.

PHPBB3-12352
[ticket/12352] Remove code for converting passwords in db auth provider

PHPBB3-12352
[ticket/12352] Add driver for phpBB2 hashes with md5 length of 32

PHPBB3-12352
[ticket/12352] Add tests for phpBB2 md5 passwords driver

PHPBB3-12352
[ticket/12352] Add tests for functions in convert password driver

PHPBB3-12352
[ticket/12352] Check phpBB2 passwords that have been encrypted with phpass

PHPBB3-12352
[ticket/12352] Add passwords driver for sha1 password hashes

PHPBB3-12352
[ticket/12352] Rename phpbb2_md5 driver to fit filenames of other drivers

PHPBB3-12352