Round start and end dates to "nice" period bounds

When setting start and end dates on weekly data, we want to round the dates to nice week bounds in order to avoid getting "no-data" entries at the start of the dataset.

Also cap the end date at the current date, so that we don't end up with blank weeks/days at the end of the dataset