Some irrelevant comment/whitespace/casting cleanup.
Added helper methods and types for comparing and manipulating clustner version numbers.