Group API

Adds support for the Group API. Was a bit of a rush job. Let me know if anything looks weird, since I might give the Project Membership thing a go as well.