Fixes for Windows
The test suite didn't pass when run on Windows. This fixes most of the failing tests, while disabling some others where the fix wasn't all that obvious.
Included is also a fix for #345 (closed).
(Ironically, the easiest way to get suitable environment for running the tests was using Git's bundled MSYS.)
Fixes #345 (closed)
Edited by Dan Villiom Podlaski Christiansen