fix bug: the absolute path was returned instead of the canonical path for SFTP symbolic links

git-svn-id: https://svn.mucommander.com/mucommander-commons-file/trunk@35 ce8f0962-ba80-45c3-bb2d-d27914a6c42d
replace for loops with for-each loops to simplify the code

git-svn-id: https://svn.mucommander.com/mucommander-commons-file/trunk@36 ce8f0962-ba80-45c3-bb2d-d27914a6c42d
fix for ticket #525, integrated the proposed patch

git-svn-id: https://svn.mucommander.com/mucommander-commons-file/trunk@37 ce8f0962-ba80-45c3-bb2d-d27914a6c42d