Better testing and logging
Added grouping - SUCCESS!

Still to do:
* Validate correctness of query
Removed WHERE "functions" - starts_with and contains
Merge pull request #9 from cndreisbach/grouping

Grouping added