Reduce number of calls according to Pavel's change in Agros2D.
Change vertex_is, element_is, and edge_is to std::maps.