SCHEMA-867. Fix deadlock in ZooKeeperLock implementations

issue: https://jira.kiji.org/browse/SCHEMA-867
review: https://review.kiji.org/r/2037