slapos_crm: Improve search by project and instances by using group by
The goal here is:
- Only check projects that have (at least one) monitored computers
- Only check Instance Trees that have (at least one) instance
The goal here is:
- Only check projects that have (at least one) monitored computers
- Only check Instance Trees that have (at least one) instance