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
Some minor syntax changes [skip-ci]
Merge pull request #174 from Mileshosky/fix/team-invites

Some minor syntax changes for invitations#show template