use_write_command? based on primary for replica sets

RUBY-676