Make wirecloud.platform.models.Widget take into account the new groups field of CatalogueResources