Clean up warnings in emscripten_log test.
Implement a IE10+ specific path to emscripten_get_callstack to get the call stack information. In IE, callstacks are populated only when an exception object is thrown. Closes #2212.