Fixed PHP-883: php_mongo_dbref_create() handling of MongoId values

If a MongoId or scalar is passed as the zid argument, it should be used as-is. Otherwise, assume the argument is a document and access its _id key/property if it is an array/object, respectively.
Fixed PHP-883: createDBRef() collection/DB method should omit $db

This restores original behavior, which was broken by 926d08d6965e88a07e2c9c0cd029484142a79c4e.
Rename ns parameter to collection for clarity

This parameter is the collection name, not the full namespace (i.e. db.collection).
Merged pull request #509
Merge branch 'v1.4'
Add a link to the windows downloads & quick install howto
Fixed PHP-886: Add support for secondaryAcceptableLatencyMS
Merge pull request #510 from bjori/PHP-886-secondaryAcceptableLatencyMS

Fixed PHP-886: Add support for secondaryAcceptableLatencyMS

* bjori/PHP-886-secondaryAcceptableLatencyMS:
  Fixed PHP-886: Add support for secondaryAcceptableLatencyMS
Fixed PHP-874: New Replica Set connections hang when secondaries are creating indexes during initialSync

When checking the node type, we should drop unknown mbers right away!

If we don't drop the connection here we will continue and try to
authenticate - which will attempt to take a lock on the server..
which will go so well during initial sync and index creations for
example.

This was "only" a problem when using authentication, as even if we
had the connection around normally, we don't have read preferences
that would use it so no harm no faul, just a silly thing to keep around
Merge pull request #512 from bjori/PHP-874-destroy-invalid-connections

Fixed PHP-874: New Replica Set connections hang when secondaries are cre...

* bjori/PHP-874-destroy-invalid-connections:
  Fixed PHP-874: New Replica Set connections hang when secondaries are creating indexes during initialSync
Merge branch 'v1.4'

* v1.4:
  Fixed PHP-874: New Replica Set connections hang when secondaries are creating indexes during initialSync
Merge mongo_connection_ismaster & mongo_connection_get_server_flags
Fixed PHP-578: No need to call ismaster 2times
Update tests after PHP-578

The log tests show less rountrips, and slight reorder of data gathering.
The ping test needs to target the is_ping command, not everything
and the getConnections() now actually shows last time we ran ismaster