Fix failing tests in ErrorHandler and Folder on windows.

Windows does not support all the logging levels that unix does, and DS
needs to be used when referring to file paths.
Fix failing more tests on windows.

* Windows doesn't support info log level.
* Windows needs assertTextEquals()
* Windows has different opinions on invalid dates.
Lower times to resolve windows issues.

* Lower the duration and sleep() time to reduce issues on windows.
* Clearing the file handle out fixes issues on windows where file
  handles would persist after the file was deleted.
Fix more file permission related problems on windows.
Skip test when localhost doesn't respond (like on appveyor).
Merge pull request #4092 from markstory/windows-fix

Fix appveyor builds