Add support for /version API

Also:
- address deprecation
- switch to using etcd 0.4.6 in tests
- other minor changes