Override CSFTPDirectory::Exists() method to correctly report whether an SFTP url represents a directory or not.
Fixes ticket #13784.

Refactored CSFTPSession::Exists() into FileExists() and DirectoryExists() methods, and have CSFTPFile and CSFTPDirectory classes use them.
This means that Exists() calls on these classes correctly only return true if the url refers to an item of the appropriate type (e.g. a file or a directory).
Merge pull request #2058 from norbini/ticket_13784_videoscanner_skips_sftp

[Fix] Videoscanner should not skip sftp/ssh sources