main/raft: write bootstrap entry when start raft

goal:
1. write bootstrap entry into log
2. determine the data written into bootstrap entry

non-goal:
1. apply bootstrap entry
2. support recovery after full down
i have updated the tests with some actual data, and hope this makes it clear.