WIP: Use etcd as backend for minion registry.

The PR is an attempt to implement #936; a recent issue #1366 can also benefits from this.   The first step is to store minions in etcd, following PRs can fix the remaining items.

Open the PR to see some comments.