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.
These `elif`s each need a `:` at eol.  Does this module have tests?  This should be a `SyntaxError` :scream_cat: