Windows build

This PR adds support for building on Windows platforms. It has only been tested on Windows 8. It includes support for almost everything, including linting and headless testing. The only non-working target is jsdoc generation.