Bug 896755: Handle app crashes in the cost control widget. r=salva

This still makes no effort to handle non-fatal 'mozbrowsererror's.

(cherry picked from commit 8b49be437ee81aa76ac8e267afeb7d25520068fc)