Replace dialog: one SearchSettings per document tab

To get the search context from the GeditDocument, the previous code
tested if the search settings is the same as the one stored in the
private struct.

Now the search context is marked with g_object_set_data() to recognize
it (to avoid modifying a SearchSettings created in GeditViewFrame).