Add  node package.
Use  to provide better support for windows clients and remove old hacks.
Make sure tests pass. Removed tests for old hacks that are no longer relevant.