Team Model File work and Team Member Controller

added more to the team controller. Also fixed up the team model.
Corrected errors in team_api.php and implmeneted a get team list for a
user.