Added sleepInterval, which closes file until next request.
TestCloseInterval.
TotSleep and TotWake stats.
Added compactInterval.

The ticker/timer for compactInterval doesn't do anything at the
moment, as the compact() function is empty.