*: fix Procfile
Merge pull request #1703 from jonboulle/proc

*: fix Procfile
raft: not set applied when restored from snapshot

applied is only updated by application level through Advance.
etcdserver: recover from snapshot before applying requests
etcdserver: check and select committed entries to apply
etcdserver: recover cluster when receiving newer snapshot
Merge pull request #1719 from yichengq/228

etcdserver: recover snapshot before applying committed entries
etcdserver: export Member.StoreKey
etcd4: migration from v0.4 -> v0.5
Fix up migration tool, add snapshot migration

Fixes all updates since bcwaldon sketched the original, with cleanup and
into an acutal working state. The commit log follows:

fix pb reference and remove unused file post rebase

unbreak the migrate folder

correctly detect node IDs

fix snapshotting

Fix previous broken snapshot

Add raft log entries to the translation; fix test for all timezones. (Still in progress, but passing)

Fix etcd:join and etcd:remove

print more data when dumping the log

Cleanup based on yichengq's comments

more comments

Fix the commited index based on the snapshot, if one exists

detect nodeIDs from snapshot

add initial tool documentation and match the semantics in the build script and main

formalize migration doc

rename function and clarify docs

fix nil pointer

fix the record conversion test

add migration to test suite and fix govet
Merge pull request #1578 from barakmich/bcm_migrate

migrate: Add a migration tool to go from etcd v0.4 -> v0.5 data directories
*: gracefully stop etcdserver