Several patches

The ExpandI64 patch, the promoteIntegers patch, and several patches from before. I added braces around single-line if statement bodies to match emscripten style, and fixed the dumpfail issue in LowerEmSetJmp.cpp that you mentioned earlier.