Leaveteam API Changes

leaveteam API changes. They have been tested on my local machine
Merge remote-tracking branch 'origin/master'

Conflicts:
	API/api/pub/models/Team.php
	API/api/pub/models/TeamMembers.php