Remove mysql related code
improve recording of commit id when "make dist"
[client] log the right version when started
[server] Improve LDAP.

* Support multiple base DN.
* Support filter.
[server] Case-insensitive username and SHA256 salted passwords.

Old usernames are still case sensitive.
upgdate version to 1.3.5
Fix bugs in handshake procedure.

* Fix memory bug in packet-io when handshake fails;
* Make sure received peer id matches expected one;
* Remove ENABLE_DEBUG macro.
[server] Reconnect peer when receive a new handshake.

In the old code, a new handshake will be discarded if the peer
is already "connected". However, a new handshake from client
usually means the client detects some network error. Peer on
the server is still "connected" because keepalive has not timed out.
So it's more reasonable to shutdown the peer and reconnect it.
[server] Use CHAR(64) to store password in MySQL.
Add RPC for encrypting/decrypting with RSA.
[server] Added filter_emailusers_by_emails rpc
[python] ignore error in ccnet client __del__ method
[net] Added search emailuser rpc
[net] Added set_group_creator rpc
Merge branch 'user_search'
Merge branch 'emailuser'
Return lower-case email/username in RPC.
[net] Add get_superusers rpc
[net] return null in filter_emailusers_by_emails when using LDAP
[net] Fixed ldap test issue in user-mgr