Allow configuration of which etcd API version to use for lookups

v1 of the etcd API is currently deprecated so we should allow the use of v2. I kept the default at v1 to preserve compatibility.
Oops! Note to self to not edit after testing. This module doesn't currently have any tests, but I'd be happy to try to add some.