Send the exceptions to Analytics

I'd like to get your opinion.
I've slightly changed the analytics there bu the logic should remain the same.

This is a follow up of https://github.com/GoogleChrome/text-app/pull/222
BUG=#219