Added method to test directories that may or may not be symlinks

Makes useful addition to test if a remote directory is a symlink or not, helps expand on "exists" method to give a broader scope for checking files and paths.