raft: use EntryType in protobuf
etcdserver: use ConfigType in protobuf