Add admin tables for DataStream and SensorReading.
Fix key.num_uses validation so that None is infinite, -1 is used up.