Further work on groups

Removed HABTM model for groups, introduced memberships to allow
membership levels such as Admin / Member / Applicant.

Active group now stored in global parent variable.

Removed group hardcoding.

Added tabs element to display groups.