libbuxton: improved management of group types

Change-Id: If4cbd77be8ca102303b710f43ad3ef69cb9127c0
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>