add validation to config_tozk
fixed codestyle
add unittest
fixed wrong include
Merge pull request #245 from rimms/validate_config

Validate config format (json) before writing to ZooKeeper