XD-2026 Fixes for review

- Renaming ContainerRuntime and RuntimeAttributes to
  Admin and AdminAttributes respectively. Follow same
  rename logic throughout the rest of the classes.
- Added sync block guarding zookeeper within app events.
- Registration now before election.
- Delete old registration instead of waiting zk to do it.
- Some other small fixed which weren't catched in review.