shell-completion,man: beef up chassis completions and description

Parameters to hostnamectl command are not optional and should not be marked
as such in the man page.
Add DEPLOYMENT to hostnamectl

[zj: remove the check against a fixed list of environments.]
shell-completion: add hostnamectl set-deployment
util: fix has cc check and add test