Fix bug in InjectTemplateListenerTest

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

Fix applies ModuleRouteListener to routematch parameters.
Merge pull request #5669 from Xerkus/hotfix/inject-template-listener

Fix bug in InjectTemplateListenerTest
Merge branch 'hotfix/5669'

Close #5669