[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
[ticket/11582] Test the event and and fix it.

PHPBB3-11582
[ticket/11582] Fix little typo

PHPBB3-11582
[ticket/11582] Correctly add all required fixtures

PHPBB3-11582
[ticket/11582] Move global declaration to beginning of block

PHPBB3-11582
Merge pull request #1513 from nickvergessen/ticket/11582

Ticket/11582 Split permission logic from translations