Time bucket the query range parameters.
Merge pull request #1054 from tweise/hds

Time bucket the query range parameters.