Prepare phrase query on snippets
Implements #334
Merge pull request #335 from emmanuel-keller/1.5

Snippet improvement #334