adds some eager loading to the groups_controller

* this is probably not comprehensive but just what I noticed
Merge pull request #41 from opf/fix/groups_controller_eager_loading

adds some eager loading to the groups_controller