New feature: Add directory() config[:exclude_pattern]

Add directory() config[:exclude_pattern] to prevent copying files that match certain regexp.
See spec.