Bail out of render loop if CesiumWidget/Viewer is destroyed.

This fixes a number of uncaught exceptions while running specs.  If the widget is destroyed, calling resize throws an exception, which is caught, but the exception handler then tries to raise onRenderLoopError, which has become undefined, which throws again.