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