[ticket/11387] Log module added only after it has been added

PHPBB3-11387
[ticket/11452] Now notification_method_email checks whether user has address.

Make sure the user has an email address set before offering email
notifications. The address could be missing for whatever reason, e.g. external
authentication. This is also consistent with XMPP/Jabber now.

PHPBB3-11452
[ticket/11465] Use extension finder when adding extensions' acp modules

The method acp_modules::get_module_infos() needs to use the extension
finder whenever it is looking for a module's info file. While
transitioning to the new extension system, only the initial search for all
module info files was changed to the new system. Due to this it is not
possible to add an extension's acp/mcp/ucp module manually in the ACP.
This patch will always use the extension finder for the acp module's info
files and therefore properly find the needed file. Additionally, the code
has been cleaned up a little bit.

PHPBB3-11465
[ticket/11465] Add unit tests for acp_modules::get_module_infos()

The tests add 3 different modules. One acp module that should be found
(acp/a_module), one acp module that should not be found (acp/fail_module),
and one mcp module that should work again (mcp/a_module). The modules'
info files had to be included as they were not auto-loaded for some
reason.
There are several test stages. First of, it is tested if the correct mcp
and acp module is returned. Afterwards, the proper loading of specified
modules is tested. One with an existing module and one with a not existing
module. Finally, the test concludes with trying to get the module info of
not existing ucp modules. Other classes like foobar would have also worked
for that check but I decided to use the ucp type of class as that is the
one type missing from the added test modules.

PHPBB3-11465
[ticket/11465] Move require_once() in unit test to the top of the file

PHPBB3-11465
[ticket/11458] Search for permission language files in extensions

Extensions that add new permission masks only need to add a permission file in
the language folder of the extension. The file must start with 'permissions_'
eg 'permissions_blog.php'. The permission language file will be automatically
included when viewing/setting permissions.

PHPBB3-11458
[ticket/11482] Implementation of advanced DEFINE tag

Implementation of advanced DEFINE tag and ENDDEFINE

PHPBB3-11482
[ticket/11482] Unit tests for advanced DEFINE

Unit tests for advanced DEFINE and ENDDEFINE

PHPBB3-11482
[ticket/11465] Add phpBB module to test

PHPBB3-11465
[ticket/11465] The info file does not have _info suffix

PHPBB3-11465
[ticket/11465] Correctly set the root path for the test

PHPBB3-11465
[ticket/11482] Use double quotes for code

Use double quotes for code to avoid excessive escaping

PHPBB3-11482
[ticket/10741] Function to resize textarea elements

New function to automatically resize textarea elements
as user types text

PHPBB3-10741
[ticket/10741] Automatically resize textareas in prosilver and ACP

Automatically resize textareas in prosilver and ACP.

PHPBB3-10741
[ticket/10741] Do not resize textarea.no-auto-resize

Do not auto-resize textareas with class .no-auto-resize

PHPBB3-10741
[ticket/10741] Fix for browser-specific resizing of textarea

Disable browser-specific resizing only after textarea has been resized
Enable browser-specific resizing after script resizing has been reset

PHPBB3-10741
[ticket/11458] We still auto add language files from the mods and acp
folders in the language directory, so we revert some changes here

PHPBB3-11458
[ticket/11458] Add functional test

Since there is no test method to include extension language files, a
functional test seems more appropriate.
We add a permission mask 'acl_u_foo' with translation found in extenion
'bar' and confirm that the permission language file 'permissions_foo.php'
from 'bar' was added by asserting that 'Can view foo' exists when viewing
user permissions in acp

PHPBB3-11458
[ticket/11458] Fix test

PHPBB-11458
[ticket/11465] Check if class exists before including info file

PHPBB3-11465