Rejiggering the cache

1) Select queries now disable the cache by default
2) Make singlethreaded groupBys work again
3) bySegment groupBy now supported for single and multi threaded cases
4) Support caching for groupBy -- this can use a lot of memory! Hence, 5)
5) Disable select and groupBy caches by default

TODO: remove