Fix null-email bug

Prevents contacts with the email address '' from being created.
Work around PHP parser error in empty() fn
Merge pull request #51 from openrightsgroup/bugfix/null-emails

Fix null-email bug