move more tests from sumatra exe to test_util.exe
fix shutdown crash caused by prefs::Reload() being called from uitask::Destroy() after DeleteGlobalPrefs()