Detect new module type regardless of base classes for controller method args

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| Refs tickets  | Guite/MostGenerator#403 #1160 #1244
| License       | MIT
| Doc PR        | -

This should allow the new args to work with new module and not break BC.