[ticket/13359] Add phpbb\template\twig\environment to template constructor

PHPBB3-13359
Merge pull request #3162 from nickvergessen/ticket/13359

[ticket/13359] Add phpbb\template\twig\environment to template constructor