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
Perfunctory gofmt -w -s=true.
Simplify Protobuf Encoding by Removing Buffers

This commit removes the explicit Protocol Buffer coding buffer, for
goprotobuf's proto.{Marshal,Unmarshal} automatically allocate an
empty buffer, just like the original code did.