WebDAVFileSystem.cpp: Refactoring.
FarDialog.cpp: Refactoring.
Fix cppcheck warnings.
Fix x64 build.
Merge branch 'master' into far3

* master:
  Fix x64 build.
  Fix cppcheck warnings.
  FarDialog.cpp: Refactoring.
  WebDAVFileSystem.cpp: Refactoring.