Content Search: Build row headers in javascript

Instead of passing html to the javascript from the controller, instead we're
building the html in the javascript with json being passed back from the
controller.