Added some selftests executed through bash.
Based on a discussion with Vincent Ladeuil in the merge request proposing inclusion of the plugin into the bzr source tree:
https://code.launchpad.net/~gagern/bzr/bug560030-include-bash-completion-plugin/+merge/23912