improved encapsulation
improved encapsulation

The code for building replication options would seem to be better encapsulated
in it's own method, (and made reusable for the forthcoming ALTER).

Bug: https://phabricator.wikimedia.org/T76494

eevans/restbase-mod-table-cassandra,gwicke/restbase-mod-table-cassandra