Stop LevelDbEventStore#record! being quadratic with the number of current events by not counting the current size by iterating over the entire thing, *and throwing away the result*.
BER encoding is not lexicographically ordered after 2**14, so switch to just binary encoding 64-bit integers.
Add missing include.