Move varlength encoding/decoding functions to util.
Add version-number stuff.
Ask eunit to produce a report.
Metadata: The read part.
Metadata extension: The write part.