wal: record node id at the head of WAL file

So etcd can know its id when it restarts.
Wow, this is a mouthful of a log message. Do this instead:
```
/ / nodeid should always be the same until we support name/peerURLs updates or dynamic configuration
log.Fatalf("unexpected nodeid change from %d to %d", wid, self.ID)
```