Cook 1469: Add EPEL repo on rhel 5 plus a bunch of important cleanup

Switch to platform family to provide Scientific and Amazon Linux support
Address Foodcritic warnings
Reformat for readability
Change a few strings to ints
Change the package upgrades to package installs so Chef doesn't cause service outages