Location changes

fixed syntax errors
Event, Location, Team, TeamSchedule, and TeamTasks changes

fixed syntax errors in some of the models and added implementation to
others. TeamSchedule is only partial as I need to research how to deal
with DateTime between php and mysql