Generate main content before layered nav block

When building an AJAX search result response, generate main content before the
left sidebar block (layered nav). This ensures that the result collection and
facet data have been loaded when the layered nav block tries to use them.