DynamicCommandInfo: fix incomplete wrapping bug

The issue is that the Validated methods were not being wrapped, so the
DynamicCommandInfo inherited from its superclass DefaultModuleInfo,
which always reports itself as valid (isValid() returns true always).

Thanks to Aivar Grislis for discovering this bug!