TII-171 Prefer eid as the email address for guest accounts, refactor getEmail() method

git-svn-id: https://source.sakaiproject.org/contrib/turnitin/trunk@87084 fdecad78-55fc-0310-b1b2-d7d25cf747c9