Fix reference to selectedProject
Various fixes for selectedTeam/Project
Add bulk group stats endpoint