Tests and fixes for write ahead logging:

- added option to control log file size
- page translation table is modified only on transaction commit
- if log is full on tx commit then schedule it to flush to data file