Fix get_group_permissions by doing a separate lookup for the groups list before filtering GroupPermissionList.

This is to fix a bug related to this:
https://github.com/django-nonrel/djangotoolbox/issues/8