Fix cmd_threads

MSP-9006

Fix cmd_threads for all options and add specs for handling of each
option.  Additionally, improve the tab completion to allow for multiple
compatible options to be completed at once instead of only allowing one
option and argument.