Move logic into separate file. refs #7021
Make Scientific Linux and CentOS look like RHEL. re #7021
Use common script to check for distro

Also use distro type rather than codename for checking.
refs #7021
Add translation for SL/CentOS codenames -> RHEL. re #7021
Merge remote branch 'origin/feature/7021_cmake_linux_distro'