Support for start/end time parameters on query

@benbjohnson @mkobetic @charlescng for review

/cc @Shopify/reports