Cache the representative list item template fragment

We were doing thousands of SQL requests to load all m2m relationships
of each MEP and then render their entry in the search result page.

This is inefficient, and since a MEP entry in the result page won't
change very often, we can cache the template fragment, greatly improving
page load time.