Fixes to nodefs filesystem so that test_unistd_io passes on Windows. Don't pass integer permission modes to node.js open function, but use only the documented string open caps.
Skip failing test_unistd_links test with NODEFS on Windows, since it requires running in administrative mode. (Also atm fails on a few node.js-specific crossplatform discrepancies)
Fix test_unistd_access and test_unistd_truncate on Windows. Both tests failed at the end on cleanup stage, when the test left behind files with readonly bit set, and shutil.rmtree() fails on Windows if any of the files are read-only.
Fake node.js stat() call on Windows to report a blocksize and blocks number. Otherwise these would be 'undefined', which later in unit tests would throw an error in SAFE_HEAP_STORE. Fixes o1.test_unistd_truncate.
Add a staticInit() initializer function to node fs.
Merge pull request #1722 from juj/fix_nodefs_windows

Fix nodefs windows