- minor refactoring to new address translation functions to support better "raw" functionality
 - moved test_inet* tests into sockets test suite
 - added raw addr / hostname lookup support
 - added getaddrinfo, freeaddrinfo, getnameinfo and gai_strerror stub
 - added tests for getaddrinfo and getnameinfo
 - consolidated test_gethostbyname and test_sockets_gethostbyname
 - created SOCKFS
 - added support for node-based listen servers
 - updated tests to also test against compiled listen servers
lazy evaluate ws module require
emscripten_get_now enabled for SpiderMonkey, optimization and test for shell and browser.
Formatting.
Update STD*_FILENO constants in settings.js to match unistd.h

They are 1,2,3 in unistd.h (correct) but were 0,1,2 in settings.js, so calling
`cDefine('STDOUT_FILENO')` (for example) would return the incorrect value.

This addresses issue #1570, but not #1408.
Pass relative paths instead of absolute paths in Visual Studio include directories for the glbook samples in msvc10 tests. Fixes #1568.
allow null second param in createPreloadedFile|createDataFile so that file packager does not need PATH, and works through closure
 - added stubs for tcgetattr and tcsetattr
 - added fixes for tty get_char in the node environment
 - added tests for tcgetattr / tcsetattr
 - made test_stdin async to work in the node environment
 - clearerr should reset both eof and error indicators
 - fgetc was incorrectly setting the eof indicator. in cases where fread had errored with EAGAIN it was setting eof. I removed the set entirely, as there is no need for fgetc to even worry about it, fread will set the correct value in any case
updated test_stdin to work in SM shell
run test_stdin in all JS_ENGINES
Merge pull request #1572 from rharkeadsk/fix-stdio-fileno-constants

Fix STD*_FILENO constants in JavaScript to match C
Merge pull request #1555 from inolen/tty_fixes

added stubs for tcgetattr and tcsetattr, minor node tty fixes
Merge pull request #1311 from juj/emscripten_get_now

emscripten_get_now enabled for SpiderMonkey, optimization and test.
 - moved hostname resolution functions to DNS object
 - minor whitespace fixes
don't re-use ports between different harnesses
Remove compilation warnings on msvc10 tests. Add missing --preload-file directives to SDL samples when building from msvc10. Removed the 'new' sample from msvc10 build since it is not designed to be built directly. Fixes https://groups.google.com/forum/#!topic/emscripten-discuss/HVavL5SPUrk
Remove Building.configure() from storing stdout and stderr output to a temp file, since these temp files aren't read from anywhere in emscripten codebase(?). In test suite the temp files are stored to a temp dir, and deleted immediately after the test is run. This prevented test suite from reporting build errors to user when the test fails. Related to #694, #695 and #696. Improve error message reporting at the end of a failed configure run.