Fixed PHP-1107: User lower socket time out during connection phase.
Fixed test case, and prevent segmentation faults.

Found while looking at Travis.
Merged pull request #717
Fixed PHP-1105: long_as_object = 0 no effect.
Added more test cases.
Merged pull request #718
Fixed PHP-722: Random segfault
Merge pull request #720 from bjori/PHP-722-random-segfault

Fixed PHP-722: Random segfault

* bjori/PHP-722-random-segfault:
  Fixed PHP-722: Random segfault
PHP-1107: Make recv_data() timeout logic consistent with recv_header()

See: 69dd290e8a6a4755e1f1b066c725384535a924e7
PHP-1107: Explicitly set connectTimeoutMS default value (60000)

Previously, the connectTimeoutMS default was only inferred in mongo_connection_connect() (1 second) and php_mongo_io_stream_connect() (no timeout, but defer to default_socket_timeout INI setting). This explicitly uses the default_socket_timeout default (60000) for connectTimeoutMS.
PHP-1107: Block on non-stream connections when connectTimeoutMS <= 0

This is logically consistent with stream connections, which omit a timeout when connectTimeoutMS <= 0 (although default_socket_timeout would still apply).
PHP-1107: Set connectTimeoutMS option whenever a new value is found

Always log that we found the option, but only report that it is replaced when the value is actually changed.
PHP-1107: Split PHP-1099 tests and update for connect timeout behavior

Connection-related messages will use connectTimeoutMS (default: one second) instead of socketTimeoutMS (default: 30 seconds).
PHP-1107: Update PHP-683 test for new connectTimeoutMS default and logging
PHP-1107: Split testing with/without timeout options
Use equal connect/socket timeouts for legacy log tests

This avoids major adjustments to the expected output when timeouts would be swapped for connection-related operations.
Merge pull request #721
BUMP 1.5.5
Relax ismaster "time left" expectation in legacy log tests

Other log tests expect "time left" to be any integer. Do the same here to avoid rare test failures.
Merge pull request #724