When running out of memory and growing heap size is not allowed, actually print out what the current value of TOTAL_MEMORY was the application was built with, to help estimate how much memory might be needed.
Use __EMSCRIPTEN__ rather than EMSCRIPTEN.

This was requested by someone upstream when I'd originally submitted
these changes and is more correct.
fix inline js in x86 target, enable testing sans validation for inline js in asm.js, fix unistd tests that use inline js to not validate, and make js optimizer more tolerant of inline js in asm code; fixes #1597
improve non-switchification error message
Merge pull request #1596 from waywardmonkeys/change-preprocessor-define-libcxx

Change preprocessor define libcxx
Merge pull request #1598 from juj/informative_oom_message

Informative oom message
handle inline assembly more carefully, avoid it being seen by asm optimizations entirely, and mark it as unsupported in non-le32
remember inlined js in outliner