* Users are now able to set the version string explicitly, and call printVersion to show it.
Note: This has the potential to slow down the log server since it introduces flushing for each metadata entry that gets written, however I don't think we have any actual choice in the matter: we have to flush. If performance issues arise we might have to add cleverness to this.
…ception is caught.
Refactored the main method to pull out different handling of flags that are independent. Added a finally clause to close cloudname to allow the main method to return in case of an exception.
Added resolver-expression flag which can be used to register a listener that will help with debugging. Setting that flag when running ZkTool will setup a listener which will listen to and write to console any events matching the expression until user terminates the listening.