Fixed PHP-423: MongoDate support for 64-bit timestamps on 32-bit systems.

I can't create a test case as there is no way to create a "larger" timestamp on
32 bit platforms in the first place. After this change, MongoDate will also
show that MongoDB really only supports milliseconds, and not microseconds as
MongoDate implies. This means that a var_dump just after creation will truncate
to three decimals. This is a tiny BC break, but IMO it is more correct to do it
like this, as it reflects how it really works.
Fixed ZTS and prrintf format.
Merged pull request #492
Merge branch 'v1.4'

Conflicts:
	types/date.c
Fixed PHP-876: Make the driver check the server version upon connecting.

We also expose this version information through getConnections().
Merged pull request #497
Fixed a use-after-free.

But this does introduce a memory leak, curtesy of two splits in parameter
parsing, and MONGO_METHOD3. This patch is for 1.4 *only*, I'll cook up a real
fix for master.
Merged pull request #498
Merge branch 'v1.4'
PHP-820: Get rid of a MONGO_METHOD3 in MongoCollection::save().

This also fixes the memory leak that PR-497. Even though PHP-820 is for 1.5,
perhaps we can merge it to v1.4 too instead of PR-497.
Merged pull request #499
CID-11036: Fix memory leak when we can't connect to a server
Merged Pull Request #487

* pull-request/487:
  CID-11036: Fix memory leak when we can't connect to a server
PHP-873: Add support for MONGODB-X509
Update after CR on PR #496

- Reorder function comments to make return values more obvious
- Use switch rather then if/else if/else
- Order auth mechanisms by their value
Merged Pull Request #496

* pull-request/496:
  Update after CR on PR #496
  PHP-873: Add support for MONGODB-X509
2.5.x changed some auth failure error messages and user document field order
2.5.x change can't find cursor error message
2.5.x forces all queries on $cmd to be limit(1/-1)
2.5.x non-release builds have negative build numbers