Added before_query and after_query hooks to stop overriding to_sql
Hidden is now a parameter option, rather than a type
Added a group param to date range reports
Report now accepts arrays for from, joins, where, group_by and order_by