Fixed PHP-734: Possible segfaults when error_message is not set
Merged pull request #384
Added test for PHP-735
We need to apply the RP set on the _cursor_ not MongoClient here

This fixes issues where RP set on db/collection/cursor/whatever not
being properly sent over to mongos
Fixed PHP-735: Commands should inherit ReadPreferences from MongoDB and MongoCollection objects
Fix teset after PHP-735 fix (actually setting the slaveokay flag!)
Remove now unused argument
zval *query is no longer needed either.
Merged pull request #386
Rename testfile to match the comment, and skip on 5.2
Merged pull request #391
Refactor JavaScript for test environment setup
Refactor PHP-535 test and relocate to replicaset group

Changed test to require the RS environment and connect to the appropriate DSN instead of a hard-coded host and port. Also reduced test complexity, since this really only needs to assert successful command execution and routing.
Update cleantests.sh for new test directories

Previous script would have removed PHP scripts in the utils directory. Changed to explicitly process test group directories.
PHP-738: Support tagged replica set members
PHP-738: Ensure that RS node config options get saved
PHP-738: Fix legacy RS log tests for replica set tags
There is no need to kill it completely, just step it down

This reduces the crazy amount of time the failover tests require
Merged Pull Request #390

# By Jeremy Mikola (6) and Hannes Magnusson (1)
* pull-request/390:
  There is no need to kill it completely, just step it down
  PHP-738: Fix legacy RS log tests for replica set tags
  PHP-738: Ensure that RS node config options get saved
  PHP-738: Support tagged replica set members
  Update cleantests.sh for new test directories
  Refactor PHP-535 test and relocate to replicaset group
  Refactor JavaScript for test environment setup
Couple of new failover tests