QA: Add a set of checks for bash-completion files

Add checks for common mistakes when installing bash completion files:
legacy directory, incorrect naming, missing aliases, deprecated 'have'
function.
Merge branch 'qa-bashcomp' into all-in-one

Conflicts:
	bin/misc-functions.sh
Merge branch 'all-in-one' into all-in-one-plus-setup.py