change hets date checking to revision checking.

Fixes the version checking of hets. As of last week hets uses the revision number instead of the
Date as secondary identification of a version.

I would ask @corny and @nning to also update the master branch when they merge this (i would ask that you do this) and to update hets on all affected deployment-machines.