Add auto-completion support, for commands/actions and types for now, as well as infrastructure for future expansion.