Test: fix instances.tcl restart_instance abort error.
Test: find_available_port: check that cluster port is free as well.

The function will only return ports that have also port+10000 free, so
that Redis Cluster instances can be executed at the returned port.
Redis 2.9.56 (Redis 3.0.0 beta-7).
Fix Solaris compilation due to ctime_r() call.

Introduced in Redis 2.8.10 because of a change in Sentinel.
This closes issue #1837.
Merge branch '3.0' into redis-3.0-annotated_from_nettedfish