refactor type -> unsigned and type -> type commands.
Add various type->type and type->unsigned commands.
Generalize the handler of 'type spelling' command.
Add various type->long long commands.