Fill in groups_template global before building group nav

cbox-theme builds group navigation outside the loop, but uses BP template
functions that are designed to work only inside of the group loop. As a band-
aid fix for this problem, we can manually set the necessary group globals based
on info from the current group.

Fixes #155