Add templates for errors 403, 404. #1090

Fixes #1090