Caching compiled templates

Fixes https://github.com/Financial-Times/o-date/issues/6