Merged Pull Request #389

# By Hannes Magnusson (2) and Jeremy Mikola (1)
* pull-request/389:
  Fixed PHP-736: MongoClient connection fails if RP tags match nothing
  PHP-736 Test MongoClient construction with tag sets
  Fix SKIPIFs
Add ReplicaSet tags for sharded environment
Test ReadPreference and ReadPreferenceTags over mongos
Add GLE with tags for RS and shards
Get rid of some code duplication and move the priority of the master

into make-servers rather then hardcoded in myconfig.js
Slight CS fixups after CR
Merged Pull Request #399

* pull-request/399:
  Slight CS fixups after CR
  Get rid of some code duplication and move the priority of the master
  Add GLE with tags for RS and shards
  Test ReadPreference and ReadPreferenceTags over mongos
  Add ReplicaSet tags for sharded environment
Fixed PHP-748: Add modelines
Merged Pull Request #397

* pull-request/397:
  Fixed PHP-748: Add modelines
Fixed PHP-751: When a secondary goes into recovery mode, we should disconnect from it
Clarified the comment, and grammarify it.
PHP-751: Expect host in exception output for invalid RS read
PHP-751: Verify that replSetMaintenance command takes effect