wal: change wal filename format

Make raftIndex section to be expected raftIndex of next entry.

It makes filename more intuitive and straight-forward.

The commit also adds comments for filename format.

#1033 
searchIndex

also these lines are inverted - docstring should start with 'searchIndex ...'

"equal to or smaller than"