Turn off Windows Error Reporting for unit tests

This keeps TeamCity from hanging on a dialog box
Merge pull request #1036 from DonLakeFlyer/WindowsCrash

Turn off Windows Error Reporting for unit tests