Fixed file attribute call on windows; hopefully

This code is not very nice looking right now
[PLXCOMP-244] Don't try to set attributes of symbolic links
Merge pull request #6 from mizdebsk/PLXCOMP-244

[PLXCOMP-244] Don't try to set attributes of symbolic links

Thanks a lot ! Finding out what to do with permissions on symlinks was on the "lost" part of my todo list :)
Addedtest
Disabled test on windows
Disabled another test on windows
Set default mode for unestablished mode back to -1
Cleaned up mode
Added another testcase to investigate windows behaviour
Added method to test file ownership
Added support for windows username
Improved windows support
Added capability sniffing for attirbute views