Implement CouchDBDatabase.getGroups() method