Fixed PHP-731: Memory leak during failover

The testcase for this is tests/replicaset-failover/mongocollection-insert-001.phpt
Merged pull request #376
Fix the confusion between msec and µsec.
Merged Pull Request #380

# By Derick Rethans
* pull-request/380:
  Fix the confusion between msec and µsec.
Fixed PHP-732: Improve error message during failover

Also updated mongocollection-insert-001.phpt after PHP-700 fixes
Merged pull request #377
Improve/Fix mongobridge setup and tests
Merged pull request #378
Fix "BC Break"; Throw MongoCursorTimeoutException during failover
Fixed CS in if(.
Merged pull request #379
Silly typo, remove the trailing questionmark
Merged Pull Request #381

* pull-request/381:
  Silly typo, remove the trailing questionmark
Fix expected output of MongoCursorTimeoutException message
Merged Pull Request #382

# By Jeremy Mikola
# Via Jeremy Mikola
* pull-request/382:
  Fix expected output of MongoCursorTimeoutException message
Remove unused mongo_db_cmd() function
Merged pull request #385
PHP-737: Remove invalid argument casting

Possibly a copy-paste error. This cast was necessary in php_mongo_ctor() since error_message was a (char *), but it's alreay of the appropriate type here.
Be more conservative with malloc() for RP tags error message

This is consistent with error message allocation in mongo_store_option().
Merged Pull Request #387

# By Jeremy Mikola
* pull-request/387:
  Be more conservative with malloc() for RP tags error message
  PHP-737: Remove invalid argument casting