Add Team management UI

Limit role to view, update descriptions for roles of team members

Add delete form, improve team index styles

Refactor role descriptions into member models

Default to current role, override text for 'none' role for team

Build urls in view based on membership object

Refactor class names for clarity

Link to team creation page from typeahead when you have no teams

Add help, improve formatting

Move capability logic into model, list global teams in settings

Improve message when leaving team or domain

Initial tests

Create capability tests

Add team members controller test

Use url_for(membership)

Change role select to hidden field + text if there is only a single role available

Get member_class from membership model