chevah/compat — pull request #31 by alibotean (2014-04-25 15:38:35+00:00)
Title: [#2114] Clarify functionality of getHomeFolder for Windows OSes.

Problem
----

Difficult to understand code and all ramifications/implications for `getHomeFolder` on Windows.

Changes
-----

I've tried to clean up the code but did not manage to do a much better job :sob:. Fixed tests for `getHomeFolder`.

Drive-by-fix to report errors when removing home (profile) folders for test users. This wasy we will spot cleaning errors early.

How to test
----

reviewers @adiroiban

Please check that the changed make sense. Github diff is weird, might be better to do a local diff.