Added checks to the CentOS install scripts to properly detect CentOS 7 and set the correct repo information.

Added tests to confirm that the changes to CentOS detection are working correctly.

Signed-off-by: Tom Walsh <tom.walsh@expresshosting.net>