fix clock_getres for higher-resolution timing we now support; improves #1795
Merge pull request #1818 from DopefishJustin/master

Don't throw an exception on SDL_ThreadID()
asm warning
Fixed dependency files not being saved away if using -MMD or similar.
Fixed timestamps on object files extracted from archives during link.

This affects builds that use absolute paths to object files when adding to library archives, causing unnecessary archives.
EM_ASM_INT and EM_ASM_DOUBLE, which allow input and output values from EM_ASM; fixes #1819
fix some leaked globals; fixes #1823
Adjust split.py tool logic for generating output filenames to not generate the full absolute path names to the splitted filenames. This fixes a Windows problem where invalid path concatenations like 'somethingC:/projects/emscripten/hello_world.js' would be generated, and shortens the path structure to not contain redundant directory names. Fixes test browser.test_split_in_source_filenames on Windows.
Fix test browser.test_sdl_image_compressed on Windows when the system does not have Cygwin make, but does have MinGW32 make.
Fix browser.test_freealut on Windows by implementing a CMake build path for that library.
Fix test browser.test_chunked_synchronous_xhr on Windows. It failed due to a name visibility issue in pickling, see http://stackoverflow.com/questions/8126654/using-multiprocessing-inside-decorator-generates-error-cant-pickle-function?rq=1 , which is fixed by hoisting the process start function to global scope.
Add a default setting line for running crunch tool, primarily from CRUNCH env var, and secondarily from PATH.
Clean up Windows-specific code in previous commits in the pull request.
Merge pull request #1824 from juj/fix_browser_harness_windows

Fix browser harness windows
try 'webgl' as well for webgl context creation; fixes #1813
Renamed outDep to out_dep.
Added test for change for issue #1732.
Add support for specifying a custom web browser to run in the browser test harness via EMSCRIPTEN_BROWSER environment variable.
Merge pull request #1830 from juj/custom_harness_browser

Custom web browser.
fix a bug in the accept call in library.js whereby if accept was called with non-NULL addr and addrlen parameters a ReferenceError occurs because accept had a parameter of addrp but later used addr. Modified tests_sockets_echo_server.c to use non-NULL addr if TEST_ACCEPT_ADDR is defined and added test case to test_sockets.py