update contact api return handling from 4.4

Conflicts:

	api/v3/utils.php
	tests/phpunit/api/v3/ContactTest.php