increase header size to 4096 bytes and add a static_assert to guarantee the size (header size had accidentally increased by 16 bytes in 0.9.7)
calculate compaction threshold based on persistent numbers; prior to
this commit, the calculation relied on an ephemeral value, thus if the
table were frequently opened/closed internally (depends on the
configuration of max_tables, etc.), then the table were never compacted