[AESH-245] refactored and corrected formatting.
Changed constants type
Merge pull request #70 from danielsoro/AESH-245

[AESH-245] refactored and corrected formatting.
PosixFileNameComparator didn't sort same names with different cases right

For example "abc", "ABC", "aBc" was sorted incorrectly

Also same name with and without dot was not sorted correctly.

"aa" should be before ".aa", this case was not sorted
Merge pull request #71 from rbalent/compare-different-case

PosixFileNameComparator didn't sort same names with different cases right
PathResolver was not resolving "~" as home directory

Also "~xy" is now resolved as regular directory which name starts with tilde
Merge pull request #72 from rbalent/path-resolver-tilde

PathResolver was not resolving "~" as home directory