Simplify home directory type detection

* manage home dir if it's type cannot be determined
* manage home dir if it not exists at the beginning of chef run
* add tests with stubbed shellout results

Also this fixes the bug when it was trying to detect FS type at resource compilation stage. Now it assumes remote home dir should be mounted beforehand.