Log uncaught exceptions.
Review Request #1027 — Created Sept. 7, 2009 and submitted
Log uncaught exceptions. This change enhances our middleware to log any uncaught exceptions. This helps users report problems where currently they don't have any useful information to give us. The log entry contains the username and full URL where the exception oriented.