some sugar for curator framework

There are a lot of races here, is that ok for your use case?

IMO since it's in scala-util and people might assume it is atomic, there should be a comment saying it's not.