db_ido: Add externalcommands.

command_type mapping missing.

refs #4768
compatutility: Add MapExternalCommandType() used in db_ido.

refs #4768
CompatLogger: Add external commands.

refs #4362