WIP: Add a utility for doing master election via etcd.

Sending this for comment, will work on unit tests once people are happy with the code.
Godoc comment.

Also, what do you think about putting the concrete implementation in the same package as EtcdHelper?