Second argument getDefinitionCollection / getDefinitionKeys supports strings

fixes #540
Support for console only commands
Merge pull request #543 from franckstauffer/i18n

I18n