Add replication failures to shard info header
Implemented failures properly
Merged delete by query _shards with the new _shared write header