WIP Refresh Resource and Archival Object templates in the public app; Fix resolve_references breaking on trying to resolve an external document 'location';
Fix subjects not displaying in the public app; Add subrecords to all record templates;
Refactor SOLR search params for filter to offer filter_term which will format the facet/term in the backend for SOLR; Fix sorting for title_sort (case and trim spaces);
Chop out a little duplication in the periodic indexer
Index changes for storing record trees in a quickly queryable way
Remove puts...
Display linked agents in the public views
Remove 'filter' from the SOLR.search as it gave direct access to the fq param - this can now be done via filter_term which accepts a json object
Introduce Mark Triggs' changes to index the tree data per node and use a new endpoint to deliver to the public app
Also index digital object trees in SOLR
Fix my many, many errors
Remove unused endpoint for tree_views
Switch the sort dynamic field to use sort_string.
Merge pull request #431 from hudmol/flesh-out-the-public-templates-merged

[Delivers #48947175] Flesh out the public templates