Fix bug in InjectTemplateListenerTest

InjectTemplateListener in tests yields different results with
ModuleRouteListener::MODULE_NAMESPACE router parameter set.

Fix applies ModuleRouteListener to routematch parameters.
Merge branch 'hotfix/5609'

Close #5609
Merge pull request #5669 from Xerkus/hotfix/inject-template-listener

Fix bug in InjectTemplateListenerTest
Merge branch 'hotfix/5669' into develop

Forward port #5669