PHP-769: Test suite function for generating collection names
MongoWriteBatch::__construct() type validation test

This also touches up the exception message and adds the invalid value to it.
Merge pull request #590
Remove shadow declarations in collection.c
Remove declaration and assignment of unused variable
Merge pull request #592
PHP-998: Add max batch and message size to connection info
Merge pull request #594
Test MongoInsertBatch split during replica set failover
Merge pull request #595
Only run MongoInsertBatch failover test on server 2.5.5+
Merge pull request #596
Include replicaset script in replicaset-failover

This ensures that functionality such as server version checking is handled properly.
Merge pull request #597
PHP-999: Fix RP support for inline mapReduce
PHP-1000: Allow "mapreduce" and "mapReduce" command names in RP check

"mapReduce" is the canonical command name, and the server allows either to be used.
Use canonical mapReduce command name in PHP-535 test

Since tests may frequently be used as usage examples, it'd be helpful if we stuck to using the proper command name here unless we're explicitly testing for another case (e.g. PHP-1000 and the PHP-999 test case).
Merge pull request #598
Merge branch 'v1.4'
PHP-995: Improve JSON detection (remi@php.net)