Add better exception handling.

Few code changes related to issue [#4](https://github.com/transitorykris/etcd-py/issues/4).