* Cast unix timestamp to int

* Add tuples of all available date groupings
* Added convenience functions to get a single value aggregate form a field
* Added safe limit option to Query class