Add new option `excludeDir` and allow globbing pattern for `exclude` options

    - Add `excludeDir` option, filter out directory when it is `true`
    - Add globbing pattern support for `exclude` option.

    - New test case for new features