[ticket/12559] Add forum setting to limit subforum legend

Squashed all commits, they were basically just typos and errors

PHPBB3-12559
[ticket/12559] Applied DeMorgan and removed unnecessary true:false

PHPBB3-12559
[ticket/12559] Updated copyright information

PHPBB3-12559
Merge remote-tracking branch 'origin/ticket/12559' into test/all