Catch errors on missing templates

Pages that are missing a template will cause a error 500. We now catch
this and display a default string.

Fixes #513