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
Merge branch 'feature/7021_cmake_linux_distro' into develop