Moves results list and details page headers to partial

The results list and details page headers have virtually the same
structure so they have been moved to a partial to make updates to both
easier to manage.