Add NewLock method to Conn. Add Locker interface.

The proposed changes make it easier to mock locking with ZooKeeper by hiding the actual connection behind an interface and making all calls, e.g. `NewLock`, against this interface.