add a list of group by type

refs #53

The new route is '/groups/bytype/{_type}.{_format}'

Example : '/groups/bytype/moderator.json'