medium: report: Return to handling timestamps internally (bnc#877495)

Since datetime objects cannot safely be compared with each other,
revert to using timestamps in seconds.
Retain possible subsecond precision when converting from datetime
object to timestamp by adding microseconds to converted second value.