[bug 971782] JS fix for data bucketing (weekly, monthly).

The bucketing implemented in Rickshaw does not like missing data
for any dates. It wants explicit 0s. This zero-fills all the
dates.