Remove CMD_TYPE to improve flexability when creating new command
Rename cmd_data to g_available_cmds in shell.c
Rename g_cmd_hist to g_typed_cmds in shell.c