Changes to display basals from new data model

@jebeck @kentquirk 

These are the changes required for tideline to be able to render basals from the new data model.