Basic framework for #46 in place. SQL needed.

    rename table ratings_team to ratings_group;
    rename table ratings_teammembership to ratings_groupmembership;
    alter table ratings_team add is_team tinyint(4) not null default 1;
    alter table ratings_group add is_manual tinyint(4) not null default 1;
    alter table ratings_groupmembership change team_id group_id int(11) not null;
    alter table ratings_alias change team_id group_id int(11) null;
    alter table ratings_message change team_id group_id int(11) null;