Stringify metadata and perform basic validation.
Add pipeline and scheduler components.
Add test schedule. Scheduler and pipeline work.
Add sensor_metadata table, retrieve sensors to be checked and their measurements.
Label spikes.
Don't check if spike when median is 0.
Add initial version of pagination. Not used by median calc yet.
Validation on insert pipelined. Batch jobs to be added.
Find sensors to check.
Add mislabelled sensors check as batch job.
Add mislabelled sensors check timestamp.
Fix error recording for mislabelled measurements.
Fix filtering out checked sensors.
Add init batch median calc.
Change to thread-first.
Filter out only spiked measurements - avoids chiken and egg situation.
Replace empty quotes with nils.