Fixed an issue creating file system asset stores on Windows.  Specifically, Windows doesn't support os.openvfs to get disk usage and size, so detect the platform version, and, if Windows, use a Windows API call to get this information.
This includes a change to allow node postinstall script to run on Windows.  This removes pathing inside of the postinstall instruction in package.json.  Node should have node_moudles/.bin in the current path when it executes these instructions, so this should do no harm to the linux deployment.  I have also added a few notes on installing to Windows to the documentation.  We probably want to add a warning that we aren't officially supporting Windows and it is use-at-your-own-risk.
Fixed formatting so that the added code passes unit tests.  Added a pragma nocover to the Windows specific code.
Added a warning that Windows is not supported or tested and to use at one's own risk.
As per discussions on how we don't really want to support Windows at this time, I've changed the capacityInfo function to just report that it doesn't know anything if an OS doesn't have statvfs (Windows).  Although not as nice as reporting the capacity, it avoids platform-specific code.
Changed the lack of support for Windows from a note to a warning; improved the wording.
Fixed an issue creating file system asset stores on Windows.  Specifically, Windows doesn't support os.openvfs to get disk usage and size, so detect the platform version, and, if Windows, use a Windows API call to get this information.
This includes a change to allow node postinstall script to run on Windows.  This removes pathing inside of the postinstall instruction in package.json.  Node should have node_moudles/.bin in the current path when it executes these instructions, so this should do no harm to the linux deployment.  I have also added a few notes on installing to Windows to the documentation.  We probably want to add a warning that we aren't officially supporting Windows and it is use-at-your-own-risk.
Fixed formatting so that the added code passes unit tests.  Added a pragma nocover to the Windows specific code.
Added a warning that Windows is not supported or tested and to use at one's own risk.
As per discussions on how we don't really want to support Windows at this time, I've changed the capacityInfo function to just report that it doesn't know anything if an OS doesn't have statvfs (Windows).  Although not as nice as reporting the capacity, it avoids platform-specific code.
Changed the lack of support for Windows from a note to a warning; improved the wording.
Merge branch 'windows-support' of https://github.com/manthey/girder into windows-support
The events test was using a fixed timeout of 0.1 seconds to check if all events in the queue had processed.  This could fail on the Travis build or if running very slowly somewhere.  I changed the check so as to be more permissive, but still terminate in a timely fashion if all is well.
Merge pull request #328 from manthey/windows-support

Windows support