1) Unit tests for order by and limit stuff for groupBy queries
2) Adjustments to order by and limit stuff in light of unit tests-n-stuff
Merge pull request #136 from metamx/group_by_order_limit

Some more adjustments to the order by/limit functionality on groupBy queries