Use etcd-rb for reqests instead of plain http.

I just converted this to work with etcd-rb; also, I added the ability to decode JSON values within etcd for hash and array lookups from hiera.

Works (tested basically) with hiera 1/ruby 1.9.3

I'm no ruby expert, feel free to correct any WTF in my code :)