History pages in new templates

Squashed version of https://github.com/okfn/ckan/pull/368

The pages look not super nice with the latest template changes but better than the old templates. We should consider this the starting point for the new history pages and not the final version.