Batch insert of measurements.

- Remove queue and update dirty dates after batch is done.
- Rename measurements table and update calculations.
- Batch calculations.
- Fix difference series calc.
- Add daily sensor status check job.
- Fix measurements by slice.
- Fix getting reading by timestamp
- Fix median spike check and add more etl.