add CentOS5 support

CentOS 5 is still receiving maintenance updates until 2017, so we should provide support for this case statement using operatingsystemmajrelease.

All the packages in the list are available within EPEL.