[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
[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