renamed team users to team members. Added team managers. Fixed views and associations. Added managers and users into the main teams index view.
added dependent destroy to teams.
added account ids for membershipt tables and locked to tenant. added indexes for all membership tables.
added debug info to layout. added missing indexes. added teams to user views.