Add ms_resolution flag to TSQuery
Modify TSQuery to downsample a request to 1 second unless the ms flag
has been set.
Also modify TSQuery to accept queries in milliseconds