Expose the total number of pages in a pagination.
Merge layout header data with page_data

This allows users to set default titles in templates.

I'm currently using this to get titles working in pagination.
Unfortunately, pagination pages don't have backing pages so there is no
better place to put the title (except in the config but that's even more
hacky)
Merge branch 'pagination-total_pages'
Merge branch 'expose-layout-yaml'