change debug prefix from raft to [raft]
encode entry should reuse memory rather than alloc each time
move buf to log struct
remove unwanted codes
bench
Merge pull request #88 from coreos/master

encode entry should reuse memory rather than alloc each time