Explicitly marks the start entry as written

Helps to avoid a whole class of bugs regarding duplicate start entries

This is a backport of https://github.com/neo4j/neo4j/commit/90bda3d4deb47d44ed54625ca6825803825fa7d1
 with an additional change in LogTestUtils adding a required adapter