404 and 500 templates added, check and improve

Hint: testing can be a bit tricky locally, but you can create a temporary 404 and 500 url.