When there's no exception, just drop the resume.

This addresses part of what was raised in http://llvm.org/PR15518
and issue #917.
Revert "Work around two Firefox bugs"

This reverts commit 0dd0d506f77e981258dad30e916c95daeb4aef13.

Conflicts:
	src/library_openal.js
Remove two other workarounds
Implement alcGetError
Merge pull request #972 from waywardmonkeys/fix-resume-undef

When there's no exception, just drop the resume.
add exception debug warning on resume 0
remove CATCH_EXIT_CODE and make it the default behavior
fix test_emscripten_api_infloop
do not show the simulate-infinite-loop exception
do not exist runtime if simulating an infinite loop
abort compilation if there are unresolved in asm.js, after showing them all
improve error message
do not save broken pre output to jcache
fix handling of EMCC_LEAVE_INPUTS_RAW
asmify CHECK_HEAP_ALIGN calls
require -O2 in asm, for now
add default c++ terminate() in library.js
Merge remote-tracking branch 'upstream/incoming' into openal
Set the correct panning model