Fix search utf8

Fix search for:
 - whitespace or empty search query
 - utf8 characters
 - unbalanced quotes
 - punctuations

Should fix issue #36