Method that deletes the command category. If this category contains commands, these are moved to the default command category. This method fails for built-in categories.