Added initial support for grouping.
- Added compute_grouped_schema to find the schema of an aggregate
  if it is being grouped first.
- Added some more documentation.

TODO:
 MORE DOCUMENTATION!