Add a get_int method to RhsmConfigParser

get_int verifies the value is an int, useful
for things like port numbers.