[MP] Improve cg_consolecmds and cg_servercmds to use bsearch.
[SP] Improve cg_consolecmds and cg_servercmds to use bsearch.