Fixes #5543/BZ1102322 - fix content search autocomplete.

Autocomplete was broken for products, repositories, and
content views in different ways.  This fixes each.

http://projects.theforeman.org/issues/5543
https://bugzilla.redhat.com/show_bug.cgi?id=1102322