"pending" sounds much better than "wip"

@robyoung
@pbadenski
Use an empty list for bucket collect default

The previous default value of None is an invalid collect argument for the repository.

@pbadenski
@robyoung
Collect for perioud grouping queries

@robyoung
@pbadenski