Use configured compaction period for ForestDB and WiredTiger

- The API call for setting the compaction period was missed.