Added exception handling in a way where an exception type can be mapped to a zookeeper condition constant. Fall-through's can map to the generic ZookeeperException, but for specific exceptions we create which extend this class they can map right in. Added a few wrapper functions to make it very easy to throw exceptions using zookeeper error codes.