Handling facets with 3 or more words

By using gsub instead of sub, we can handle facets with 3 or more
letters.
Merge pull request #241 from projecthydra/improve-three-or-more-word-facet-behavior

Handling facets with 3 or more words