Support Node 0.10.x

I've make cld to work with Node 0.10.x (and 0.8.x). I think this should not break the backward compatibility. I've tested with Node 0.10.5, 0.8.23 and 0.4.0 on my environment.