Implementation of a write ahead log

This pull request is just a place holder and isn't ready yet to be
merged. The following is a todo list:

- last point sequence number recovery on startup
- last request number recovery on startup
- assigning sequence numbers to points
- index from request number to file location
- compaction of the log file