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