kontrol: separate etcd node parsing into a package

This functionality is needed in other places too, no need for code
duplication.
kontrol: expose certain functions and fix race condition
Merge pull request #54 from koding/kontrol-packages

kontrol: expose functions and packages