Add handling for unreported exceptions when invoking callback objects.

r? @Ms2ger 

This will need to wait for https://github.com/servo/rust-mozjs/pull/125 to merge.