Introduce sensor_id.

- Update calculations.
- Store sensor_id in datasets.
- Update datasets API and UI to support sensor_id.
- Make dataset name editable.
- Update uploads and downloads with sensor_id.
- Update measurements API to support sensor_id.
- Update devices API.
Changes as per @otfrom's comments.
Update with changes suggested by @otfrom.
Merge pull request #465 from MastodonC/feature/sensor-ids

Use sensor_id