util: Improve statedb hashing function to avoid possible data loss.
util: Improve statedb hashing function to avoid possible data loss.

The statedb hash function only hashes the remote side and not the local
path. So if a user changes to a new empty directory to sync it with the
remote counter part, csync will delete all files.

This will result in a new full sync for all sync setups, but we will not
loose any data.

meeh420/csync,gco/csync,gco/csync,meeh420/csync,meeh420/csync,gco/csync,gco/csync