[Olena-patches] 637: Factor oln::grid1d, oln::grid2d and oln::grid3d into oln::grid_<>.