FIX: Add missing 'groupby' method

This is a simple fix to allow the setting of SQL 'GROUP BY' from a DataQuery context.

I realise that there is a lot of work going on with regard to database abstraction aimed at 3.2 but I think this would be a really useful addition in the mean time.