course metrics in time series 

@mattdrayer @martynjames Implemented new api to get course metrics in time series format for a given time period. It supports `days`, `weeks` and `months` interval. It would support MCKIN-2269.