Changed method of publishing segment ownership to ZK to use batching, includes changes to allow for migration

This pull request minimizes the number of znodes that are created each time a served segment is announced. A znode can now hold numerous served segments. There are new configurations for backwards compatibility and migration.