raft: write entry 0 into log

#1033 #1045 
I will do entry write check (including always write entry 0 as the first one),
and load last written entry in snapshot
in following PRs.
entry 0 is a special first entry in our raft log implementation. It is always empty, and is used to ensure simple development and understanding.
So commit is started at 1.