Made Symfony routing possible for Symfony based modules still using the old base classes.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | Guite/MostGenerator#403
| Refs tickets  | #1271
| License       | MIT
| Doc PR        | ---