add ec_file:is_dir/1

use ec_file:is_dir/1 to identify symlinks which are directories
Ensure contents of symlinked directories are copied when using ec_file:copy/3
Merge pull request #68 from reset/recurse-copy-symlink-dirs

add ec_file:is_dir/1