Improve calculation of seafdir id.

Make sure dirent->mode is little endian.
[client] Improve getfs-proc.

* Don't check fs objects more than once locally.
* Check integrity of file objects when clone.
Disable transfer protocol version 4 and update to version 5.