Share document filter templating between Ruby and JavaScript

There were two reasons for these changes. The first is to share the templates between ruby and javascript for the filter pages. The second was to change the markup we use on document lists so that we can have consistent styling across browsers.

The main point that it is worth looking at are the changes to the presenters. I have moved the 'document_hash' away from the document filter helper and into the edition presenter helper. This seemed to make sense as the logic for what appears in each edition type can then be more carefully curated.