[feature/twig] Indentation and comments

PHPBB3-11598
[feature/twig] Add test to make sure nested loops get the correct S_ROW_COUNT

PHPBB3-11598