[Docs] Document which encoding should be used in order to make sense of the offsets returned by the term vectors API.

Close #4363
Apply slop correctly if phrase query is wrapped in a filtered query.

If a phrase query is wrapped in a filtered query due to type filtering
slop was not applied correctly. Also if the default field required a
type filter the filter was not applied.

Closes #4356