Fix compilation with clang
Move the SearchReplaceEngine instance to the context
Use STL names for wxString functions with a bunch of aliases