convert add_to_team to use new team membership API
Merge pull request #89 from education/memberships

use new team membership API