Fixed bugs in legacy code that caused team.users counter_cache to update incorrectly. Reordered code in users_controller start_team and join_team that caused teams to increment by 2 when users joined. Deleted 1 line of code in user.leave_team that caused teams to decrement by 2 when a user leaved the team.
Fixed bugs in legacy code that caused team.users counter_cache to update incorrectly. Reordered code in users_controller start_team and join_team that caused teams to increment by 2 when users joined. Deleted 1 line of code in user.leave_team that caused teams to decrement by 2 when a user leaved the team.

DerekHs/enrollme,DerekHs/enrollme,DerekHs/enrollme