[dash] Fix encoding and decoding of strings coming from and passed to the backend so that searches containing non-ascii characters work.
Reverted revision 677. It was introducing QStringFromUtf8StdString that has
the same result as QString::fromStdString with the codec for C-strings set to UTF-8.