Added os checks to determine which db to install

Script will now check os version to determine which db software to
install. On CentOS versions 7 and above, mariadb will be installed,
otherwise, for CentOS versions between 6 and 7, the standard mysql
packages will be installed.