Check data consistency on import

When importing a schedule from json, we assume the time model did not change since the export.

We should check something like data.input.timeslots == self.discertize_timestlots().

Edited by Lorenzo Conti