[task/composer-compatibility] Minor changes that will break extension BC

PHPBB3-11840
[ticket/11840] Fix regex

PHPBB3-11840
[ticket/11840] Use generic information in the test extension

Not sure why I had my name/info in these files...

PHPBB3-11840
[ticket/11840] Correct Moo test extension composer

PHPBB3-11840
Merge pull request #1742 from EXreaction/ticket/11840

Ticket/11840 Refactor the extension metadata class