Add detection of used Linux distribution.

This information is then used to put the bash completion files into the right directory.