added emailexist() function; added new unit tests for user
	modified:   API/api/pub/api.php
	modified:   API/api/pub/models/User.php
	modified:   API/api/pub/models/tests/UserTest.php