Fix CentOS 7 operatingsystemrelease bug

In CentOS 7 Facter's 'operatingsystemrelease' returns more than just
the major version, breaking stuff. This commit adds a new
'operatingsystemreleasemajor' Facter fact and substitutes it in.