Update UsageApi to allow fetching and recording usage in bulk, and change granularity to be LocalDate