Added version detection for CentOS 7.
Added tests for RHEL 7.
Added tests for Debian 7.