more work on medea_compact_test
bugfix: typo in _innerMergeWrite
fix bug 1/2 by using monotonic-timestamp on put()
fix bug 2 by handling this.db.bytesToBeWritten correctly