database: allow setting default read-prefs and write-concern.