Add basic bash completion support.

This completes the basic crab commands and their long options.  Needs
to be sourced in the current bash session to work.  Fixes #4331.