Move the checksum code into its own module.

This removes the dependency of rinRIS on rinCon since the only rinCon call being used was the checksum routine.