Phrase Suggester: Add option to filter out phrase suggestions


The newly added filter option will let the user provide a template query which will be executed for every
phrase suggestions generated to ensure that the suggestion matches at least one document for the query.
The filter query is only executed on the local node for now. When the new filter option is used, the
size of the suggestion is restricted to 20.

Closes #3482
I think now that we have an enum we should just use a switch / case statement here?