Fixed a test dependent on concurrency
Fixed a NPE on connection failure
Merge pull request #119 from acidmoose/master

Added option for plugin based logformatter.
Merge pull request #118 from mads-b/master

Small fixes
Added support for listening to resolver

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.
Merge pull request #120 from birgirst/dynamic-resolving

Added support for listening to resolver for given expression
Fixing exception handling to make zktool exit correctly on error

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.
Merge pull request #121 from birgirst/main-finally

Fixing exception handling to make zktool exit correctly on error