replacing hbase locks with zookeeper locks, using icv for id increments

I've fixed two serious bugs, and now nod duplicates can be generated 

(previous version take wrong lock and don't synchronize in process)