Added statistics and wear simulation functions to support migration of remaining storage related host tests from fixture to linux implementation of esp_partition.