Fix team invitation 500s - WIP-331

Work for: https://assembly.com/coderwall/wips/331

* Fix team invitation 500
* Add team members partial
* Add controller + request specs for invitation page.