Made erase_range_helper_t update the population_change_out variable.
Renamed get_data_major_write to get_data_write.
Removed almost-unused functions set_data and move_data.
Replaced bad reinterpret_casts with  static_casts in ptr_in_byte_range and range_inside_of_byte_range functions.