Bug 1033858 - Add a listener for and log errors in content. r=gaye

Discussed on irc. This makes sense since `handleMessage` may be called with other things