Search and replace: better update buttons sensitivity
ReplaceDialog: disconnect regex-error notify signal

We have to remember the GeditDocument where the regex-error notify
signal has been connected to (more precisely, the SearchContext attached
to the GeditDocument).