derive RecordEnergyTimeseries from RecordScalarTimeseries, add cpp tests, begin RecordLowestEValueTimeseries