add minial set of bash functions required to make tab completion work for 'older' versions of bash

documentation to set this up available at https://github.com/hpcugent/easybuild/wiki/Setting-up-tab-completion-for-bash