Reworked the release detection to normalize the value of distro.release as an integer and use that as the basis of determining the correct value of rpm_dist() and repository_url_part(). This should work for all versions of RH, CentOS, and SL going forward.

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