Fixed some tests due to server changes in 2.5.
Fixed some tests with the latests server changes.
The server started issuing a "code" field now for writeConcern failures.

This changed the code that we were showing from our default (4) to the new 64
(see:
https://github.com/mongodb/mongo/blob/master/src/mongo/base/error_codes.err)
More test fixes and allow < version checks too.
Fix PHP-426 test for mongod 2.5.x

Querying system.users is not reliable since the server API changes in 2.5.x. Instead, we can simply query a collection to test if the connection was successfully established.
Fix PHP-629 test for mongod 2.5.x

Use buildInfo command instead of evaluating "db.version()" JavaScript. On 2.5.x, users require explicit permission to evaluate JavaScript.

Use of the "timeout" option is irrelevant here, in light of bug00683.phpt and mongoclient-ctor-002.phpt.
Merge pull request #572
Merge branch 'v1.4' into master-merge-v1.4

Conflicts:
	tests/auth-replicaset/legacy/bug00426.phpt
	tests/auth-replicaset/legacy/bug00629.phpt
	tests/generic/bug00389.phpt
	tests/generic/database-createcollection-with-options.phpt
	tests/replicaset/legacy/bug00586-replicaset.phpt
	tests/replicaset/legacy/bug00605.phpt
	tests/replicaset/legacy/bug00676.phpt
	tests/replicaset/legacy/bug00685.phpt
	tests/replicaset/legacy/bug00790.phpt
	tests/standalone/legacy/bug00485.phpt
	tests/standalone/legacy/bug00522_error.phpt
	tests/standalone/legacy/bug00569-001.phpt
	tests/standalone/legacy/bug00569-002.phpt
	tests/standalone/legacy/bug00569-003.phpt
	tests/standalone/legacy/bug00569-004.phpt
	tests/standalone/legacy/bug00605.phpt
	tests/utils/server.inc
Fix tests for 2.2.6, 2.4.9, and 2.5.x
Test that exception is thrown during MongoClient constructor
Merge pull request #576