Closes #589: 404 page handling hook now handles template settings
Merge pull request #590 from mapkyca/404-templates

Closes #589: 404 page handling hook now handles template settings