[ticket/12382] Allow nested loops in included files.

They have to reference the fully qualified loop name in BEGIN and END.

PHPBB3-12382
[ticket/12382] Event loop nesting inclusion applies to regular includes too

PHPBB3-12382
Merge pull request #2391 from naderman/ticket/12382

[ticket/12382] Allow nested loops in included files.
Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/12382] Event loop nesting inclusion applies to regular includes too
  [ticket/12382] Allow nested loops in included files.