Moved from http client implementation to etcd-rb implementation.

We use the https://github.com/iconara/etcd-rb code; also, I added
a support for hashes and arrays in hiera fetching data stored in json
format in etcd.