fixes #145 Destroy resources outside of the pair's write lock during
partial eviction
fixes #153 Add parameter for the write on leaf flush strategy. If
enabled, we clone and write out a leaf node after it's flushed to.