Moved repr_check to sensorbase

repr_check turned out generic so a general implementation was put in to
sensorbase.
fixed potential bug in repr_check
updated dummy-sensor to use the new class-based approach
Started converting ntp-drift to class based.