Catch any 500 errors in production

If in production, 500 exceptions will render a 500.html page, which
informs the user that there where a problem.