Add an insert function

Similar to what GtkListBox has.
Avoid a segfault with filtering

With filtering, it can happen that more than a lineful of children
at the end are invisible, and in that case we were running off
the end of the lines array in egg_flow_box_size_allocate.