[feature/twig] Attempt to automatically set style dir for ext modules

Extension authors can change it themselves if necessary

PHPBB3-11598