Log uncaught exceptions to syslog

Change-Id: I0aa808e21e3948a662ea5439fe7a22deec8e5d11