[PDI-9525] Support for MongoDB tag sets.

Mongo (pun intended) checkin that adds support for read preferences with tag set(s) in MongoDbInput and custom write concerns (getLastError modes using tags) in MongoDbOutput. Both steps now have enhanced logging. Also snuck in a bonus new feature that allows all replica set members to be discovered automatically. Code has been refactored and cleaned up.