fixes #153 Parameterize the partial eviction strategy for nonleaf nodes
and add a parameter for whether leaf nodes get written out on flush.