Added a new patch, that builds further on Tao's work.
- Grouped and GroupField don't extends from ArrayList any more. That have a list as field.
- Renamed Grouped to GroupResponse
- Renamed GroupField to GroupCommand
- Added an initial test.
- Fixed bug in XMLResponseParser. When a lst element appeared inside a arr element, the check at line 320 failed. This resulted in an exception.
- Made the code work with group.query
This is work in progress. I'll need to extend the test with more assertions. Also I might make GroupCommand abstract and add three concrete subclasses (GroupField, GroupFunction and GroupQuery). Seems like a good idea to me.