rtt_rosclock: Refactoring / fixing issues mostly related to old double-based time measurements (tested with gazebo)