fix #746

Use `add-face-text-property' instead of `put-text-property' to highlight
matches so that faces in candidates are not just erased
fix last commit for older Emacsen without add-face-text-property
Merge pull request #762 from michael-heerdegen/fix-746

fix #746