register, login, some search function

changes:
* register.
* login;
* search jids by cellphone number;
* search jid, nickname, photo by cellphone number or email.
*write cellphone number or email into vcard, vcard_search when register.
```
send_register_email( GUID, User, Server ) when  is_binary(User) ->
    send_register_email(GUID, binary_to_list(User), Server);
send_register_email( GUID, User, Server ) ->
    ...
```