implement safe/trim incl. learner recovery
add trim_quorum and trim_modulo to zookeeper configuration