Fix team invitation 500, team members partial, controller + request specs.
Merge pull request #173 from Mileshosky/fix/team-invites

Fix team invitation 500s - WIP-331