SearchContext: add the "regex-state" property

It will be useful to know where to display the regex error in gedit.
SearchContext: replace() and replace_all(): clear replace error