Autocomplete the quattor-query command

Same autocompletion function applies to both ncm-query and quattor-query.