Use DurabilityConstraints object rather than persist_to/replicate_to

This allows for more flexible ways to specifiy this setting in
production without increasing line noise for other parameter types.

Change-Id: Id1330f30b060bc58d9941a7c02f73ff329c8eadc