refactor(read-preference): use an array for mode validation
refactor(read-preference): use an array for mode validation

NODE-1187

mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native