Merge pull request #165 from evoskuil/version2

Bash-completion, based on @swansontec implementation.