Explicitly log 500 errors.

Tomcat doesn't report these to the application
log, so adding them to the error-page controller
method will make them easier to track down.