ERT-727: New function time_map_alloc_index_map()
ERT-727: Added refcase explicitly to the time_map