Deactivate member from team

fix issue #74 by linking to teams list when a member deactivates their self
add tests for deactivate by member and captain
refactor tests a bit to pull out team creation for with a captain and a member