Return proper error on requests with an unbalanced number of quotes.
fix typo in redis.conf and sentinel.conf
Fix wrong repldboff type which causes dropped replication in rare cases.
Merge pull request #1451 from yossigo/unbalanced-quotes-fix

Return proper error on requests with an unbalanced number of quotes.
Replication: publish the slave_repl_offset when disconnected from master.

When a slave was disconnected from its master the replication offset was
reported as -1. Now it is reported as the replication offset of the
previous master, so that failover can be performed using this value in
order to try to select a slave with more processed data from a set of
slaves of the old master.
comment mistake fixed
Merge pull request #1460 from codeeply/simplify2

comment mistake fixed
Merge pull request #1415 from Dieken/fix-typo

fix typo in redis.conf and sentinel.conf
Makefile: remove odd syntax not compatible with some make versions.

See issue #1448.
Sentinel: dead code removed.
SDIFF iterator misuse fixed in diff algorithm #1.

The bug could be easily triggered by:

    SADD foo a b c 1 2 3 4 5 6
    SDIFF foo foo

When the key was the same in two sets, an unsafe iterator was used to
check existence of elements in the same set we were iterating.
Usually this would just result into a wrong output, however with the
dict.c API misuse protection we have in place, the result was actually
an assertion failed that was triggered by the CI test, while creating
random datasets for the "MASTER and SLAVE consistency" test.
SDIFF iterator misuse bug regression test added.

See commit c00453d for more info about the bug.
Makefile.dep updated.
Cluster: use long long for timestamps in clusterGenNodesDescription().

Ping sent and pong received fields need to be casted to long long to be
printed correctly into 32 bit systems.
Fixed clearNodeFailureIfNeeded() time type to mstime_t.

This prevented 32bit cluster instances from clearing the FAIL flag when
needed.
Cluster: use an hardcoded 60 sec timeout in redis-trib connections.

Later this should be configurable from the command line but at least now
we use something more appropriate for our use case compared to the
redis-rb default timeout.
Cluster: use proper type mstime_t for ping delay var.
Cluster: initialize todo_before_sleep flags to 0.
Cluster: check link is valid before sending UPDATE.
Cluster: set n->slaves to NULL in clusterNodeResetSlaves().

The value was otherwise undefined, so next time the node was promoted
again from slave to master, adding a slave to the list of slaves
would likely crash the server or result into undefined behavior.