Fixed the email already exist issue for edit user

The issue was reported here https://github.com/WP-API/WP-API/issues/608 by me, and I have added the fix here