bashcomplete: add a Bash completion script

Signed-off-by: John Keeping <john@keeping.me.uk>