Fixes #5543/BZ1102322 - fix content search autocomplete.

Autocomplete was broken for products, repositories, and
content views in different ways.  This fixes each.
Merge pull request #4310 from waldenraines/5543

Fixes #5543/BZ1102322 - fix content search autocomplete.