WIP etcd: snap and wal init

@unihorn add an issue for this. we need to save context of the peer into snapshot.