[client] Stop upload if some blocks are missing locally.
[server] Adding shares into quota usage.

There is an option in seafile.conf switch this feature on/off:
[quota]
calc_share_usage = [true|false]