etcdserver: recover snapshot before applying committed entries

fixes #1617 
The promise in Ready interface is from #1715 
Ignore the above comment because i change the promise now