Fix tests on legacy-release
Merged Pull Request #403

* pull-request/403:
  Fix tests on legacy-release
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