RUBY-695 When secondary not ok for cmds, reroute to primary and warn
RUBY-695 out is required for map reduce
Use regex in tests to match strings
Merge branch 'gjmurakami-10gen-1.x-stable-ruby-683' into 1.x-stable

fix max values test for replica set
Update to arbitrary command opts, which need to be merged into the selector